Ok, I’m an idiot with a simple question: How do you store/retrieve a single integer (highscore) locally? This should be insanely simple, just one or two lines of code right? How can something like this work?:
PlayerPrefs.SetInt(“Player Score”, 10);
To which I could retrieve and print onscreen with:
Gui.Text = guiText.text = "Highscore : " + PlayerPrefs.PlayerScore;
YES I know there are elaborate forum answers on how to deal with user inputed names, lists, levels, servers, etc., but I have failed stripping all the junk out just to store a single God-loving integer after the game is turned off and get it back when it is turned back on.
Help me please…
THANK YOU!!!
xian