- Home /
Save changes made by player in level
Hello!
I'm trying to save the changes made to the scene by the player.
For example, if the player have opened a container, leaves the scene, and goes back to the same scene, I need the container to be open.
And any other changes made by the player.
Any direction or script or advice could be helpful! thanks in advance!
Answer by Cherno · Oct 11, 2015 at 05:05 PM
For saving some simple values, you can use PlayerPrefs. For more complex data, you need to look into serialization. SerializeHelper is one example asset that aims to teach the basics.
Yes, I already have serialization knowledge, but how I can save the things I mentioned earlier?
The asset I linked to explains, and in fact, does it.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to make it so Unity remembers purchases made by players whenever they play? (C#) 1 Answer
How to save custom data types 1 Answer
Persistence of saving data not working 2 Answers