Quantcast
Channel: Questions in topic: "playerprefs"
Viewing all articles
Browse latest Browse all 1333

Differences between mobile save/load data

$
0
0
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?

Viewing all articles
Browse latest Browse all 1333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>