|
Hello Im trying to save and load my exp heres my script
how can i make it so if i press a gui button in the top middle of the screen it will save my exp and when i load another level it loads my exp. Thanks
(comments are locked)
|
|
If you want to save the value even across multiple game sessions use PlayerPrefs.
To load it:
The "0" at the end is the default value that is returned if it hasn't been saved yet. You can use any name you like to save values but it should be something you can remember ;) Thanks works great
Apr 19 '11 at 11:01 PM
Aydan
(comments are locked)
|
Right, for manager scripts that should survive the whole game that's the right way.
Apr 19 '11 at 03:04 PM
Bunny83
(comments are locked)
|
