How to save & load a game object along its components?  Topic is solved

Discussion and help for Easy Save 3

How to save & load a game object along its components?

Postby 88888888 » Mon Sep 16, 2019 10:18 pm

How to save & load a game objects along its components and scripts? I'm using ES3.

Also I need to save and load scripts that is on the object's children too.
88888888
 
Posts: 17
Joined: Tue Sep 10, 2019 10:41 pm

Re: How to save & load a game object along its components?

Postby Joel » Tue Sep 17, 2019 6:01 am

Hi there,

That is covered here: https://docs.moodkie.com/easy-save-3/es ... s-prefabs/

You can check the Save GameObject Children option in Window > Easy Save 3 > Settings to ensure that children are saved.

All the best,
Joel
Joel Tebbett @ Moodkie Interactive
Twitter - Unity - LinkedIn
User avatar
Joel
Moodkie Staff
 
Posts: 2477
Joined: Wed Nov 07, 2012 10:32 pm

Re: How to save & load a game object along its components?

Postby 88888888 » Tue Sep 17, 2019 10:04 am

Thanks. Just is that possible to add "Enable Easy Save for Prefab" automatically in runtime with a playmaker action or something? in case we going to create a random prefab in runtime and we can't right click and select "Enable Easy Save for Prefab" on there?
88888888
 
Posts: 17
Joined: Tue Sep 10, 2019 10:41 pm

Re: How to save & load a game object along its components?  Topic is solved

Postby Joel » Tue Sep 17, 2019 11:11 am

The prefab must be enabled for Easy Save prior to runtime, as it's not possible to add components to source assets at runtime, and the reference manager will not be able to get a reference to it.

All the best,
Joel
Joel Tebbett @ Moodkie Interactive
Twitter - Unity - LinkedIn
User avatar
Joel
Moodkie Staff
 
Posts: 2477
Joined: Wed Nov 07, 2012 10:32 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests