I am pretty new with Unity. I have a general question regarding game scenes. Suppose a game consists of several scenes. Let us say that a player was exploring one of the scenes and made some changes to the scene (e.g. objects are moved). Let us say that the player stopped playing and exit the game at one point. In order for the player to return to the same scene with exactly the same states as when he exited, I guess we need to record the states information somewhere. If it is deplored through the web, I guess the information has to be stored in a database.
I would appreciate any information and help in this regard.
Thank you, Wei Jin
This is not a simple task. They way I usually approach this is to create my own load/save handler.
It usually operates by looping through everything that I want to be persistent, and saving specific data in the PlayerPrefs. Then the handler has to go through what was saved when its time to load, and apply that data to those things I want to be persistent.
PlayerPrefs is stored locally so there would be no need for a server/database.
I'm not familiar with any quick solutions for this. Not even in Unity.
answered Nov 21 '11 at 03:55 PM