- Home /
Saving game in play mode?
hello i am making a free roam adventure game and i was wondering if there was a way to save the players current progress when playing, such as having a save button in game. I also wonder if there is a method of saving the game so that after you exit the game and open it again, that your saved game from last time would still exist?
if you could help me with this i would be very thankful
Answer by Graham-Dunnett · Mar 19, 2015 at 10:10 AM
Either read:
http://docs.unity3d.com/ScriptReference/PlayerPrefs.html
or have the player data uploaded to your web server using the WWW/WWWForm class.
If you want to test things out and have a system that is comprehensive but easy to use, check out the Unity Serializer available for free on the asset store. It is no longer supported but works out of the box and should be enough to get you started.
Be aware that (de)seralizing data can be pretty daunting to inexperienced developers (I know it was to me! ;) ) so just hang in there and do things bit by bit (literally).
Your answer
Follow this Question
Related Questions
PlayerPrefs not saving in build 1 Answer
Saving & Loading the scene (or at least one array) via Javascript 1 Answer
GUI button working with GUI Textfield 0 Answers
Problems with Playerprefs script 1 Answer
Can only Save in on scene 1 Answer