- Home /
How to save data on iOS?
I can't seem to figure out how to save data to on an iOS device? For example I have a game where it everytime my player hits a trigger it gives him 1 point but I need my iOS game app to save the data say if the user terminates the app completely(not if they delete it in that case all the data can be deleted) and it sets their high score to a GUI in javascript?
Asked and answered a lot of times before. Please search Unity Answers before posting a new question to make sure it is not a duplicate.
http://answers.unity3d.com/questions/458411/c-how-to-save-data-during-gameplay.html
Answer by abi-kr01 · Feb 24, 2014 at 01:59 PM
there are mostly 2 way to do that i don't know both are applicable to you or not but u can at least try
1)first and most common is Playerpref(player preference)
2)Save/Load game using XML.
Your answer
Follow this Question
Related Questions
iPhone - iPad script solution 1 Answer
I want to have FPS iOS tutorials. 0 Answers
Unity iPhone: AddForce to Object after Touch 0 Answers
capture the screenshot to iPhone photo gallery 2 Answers
Strongly Typed Javascript on iOS 2 Answers