SUPER SIMPLE Q.: Single Integer Stored Locally?

Ok, I’m an idiot :sweat_smile: 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 :wink: 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

248515--8948--$highscorefail_184.jpg

–Eric

Thanks Eric!!

and then:
PlayerPrefs.GetInt(“Player Score”)

is the score!!!

THANKS!
xian