Page 1 of 1

Saving material Instances

Posted: Wed Feb 28, 2024 11:39 am
by noob_vulcan
Hi,

I'm working a game where you can spawn different objects like table, chair etc.

Each object has multiple materials, and user can change the color, tiling of texture and even change whole material from a given material list.

So my all objects have instanced material as i'm changing them at runtime. So what would be the best approach to save these materials? As i can change color,tiling and even a new material (like if i want to make table wooden or metal).

Kinda stuck here for a while, would be great if you can help.

Re: Saving material Instances

Posted: Wed Feb 28, 2024 4:38 pm
by Joel
Hi there,

For saving the instantiated prefabs themselves you would follow this guide:
https://docs.moodkie.com/easy-save-3/es ... s-prefabs/

With regards to saving the Materials, this section explains what you will need to do:
https://docs.moodkie.com/easy-save-3/es ... nd-warning

All the best,
Joel