2
\$\begingroup\$

I made a game and i want to save the high score and load it back. I need to save 3 variables and load them when the game starts. How do i do it?

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

Look at PlayerPrefs class. It's a key/value system that allows you to save, or read, a value.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Just a quick word of caution: PlayerPrefs saves values into the Registry on Windows. \$\endgroup\$ Sep 30, 2014 at 11:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .