Dear Community,
I'm trying to figure out how to save 3 values permanently for a mobild game (android). Means when the player close the APK and open it again, the values will not be restarted to default or get deleted. A simple Save and Load function.
The 3 values are: a string with the name of the player, an int for HighScore and a bool for asking if you have already played a tutorial level need to be saved and loaded.
I am a beginner and try to code it in C# in Unity 5.6.2 .
However, my question is how do I save these values best? I have found that there are 3 possibilities.
1. save with Custom BinaryFile
2. Save with XML files
3. Save with PlayerPrefs
Which of these would be the best way to save these 3 values?
↧