- Home /
How to save not only the position of player but the whole state of my scene ?
I'm a beginner of Unity and I am wondering that how to save my game...
I'v tried the way which offered in this video https://www.youtube.com/watch?v=J6FfcJpbPXE and it works! But my game is a RPG Puzzle game so the data I have to save will be very complicated.The ways I got in this video are only saving floats, int ... But the position of actor is not the only thing I want to save.
And I have some questions below:
With such way, what can I do if I have one hundred objects ? Which means I need to record them (position, float...) one by one.
In my game, some objects will be destroy by the actor. Is there any way to record DESTROY ?
3.Is there another way to save game ? How about "record my whole scene", how can i do this if this is a recommended way? (Which Object is Disappeared, Every Objects New Position etc...) So when the next time I open my game I could play from the last state.