Saving material Instances

Discussion and help for Easy Save 3
Post Reply
noob_vulcan
Posts: 4
Joined: Mon Apr 25, 2022 4:38 pm

Saving material Instances

Post 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.
User avatar
Joel
Moodkie Staff
Posts: 4848
Joined: Wed Nov 07, 2012 10:32 pm

Re: Saving material Instances

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply