Saving and Loading data between scenes.
Saving and Loading data between scenes.
I am currently working on a project where there are multiple scenes i can move between and i want rotations and positions of objects in scenes to be saved and loaded when i enter and leave different scenes. How would i do this?
Re: Saving and Loading data between scenes.
Hi there,
With regards to saving the position of your objects, this is covered in the basic saving and loading section of the Getting Started guide. I.e. you use ES3.Save and ES3.Load.
https://docs.moodkie.com/easy-save-3/getting-started/
To save when you leave the scene, you can put the save code in OnDestroy(). To load when you enter the scene, put the load code in Start() or Awake(). There is an example of this here:
https://moodkie.com/forum/viewtopic.php?f=16&t=1889
All the best,
Joel
With regards to saving the position of your objects, this is covered in the basic saving and loading section of the Getting Started guide. I.e. you use ES3.Save and ES3.Load.
https://docs.moodkie.com/easy-save-3/getting-started/
To save when you leave the scene, you can put the save code in OnDestroy(). To load when you enter the scene, put the load code in Start() or Awake(). There is an example of this here:
https://moodkie.com/forum/viewtopic.php?f=16&t=1889
All the best,
Joel