Page 1 of 1

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

PostPosted: Mon Sep 16, 2019 10:18 pm
by 88888888
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.

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

PostPosted: Tue Sep 17, 2019 6:01 am
by Joel
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

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

PostPosted: Tue Sep 17, 2019 10:04 am
by 88888888
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?

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

PostPosted: Tue Sep 17, 2019 11:11 am
by Joel
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