Question by
Dog-Gamer · Aug 15, 2016 at 12:31 AM ·
programmingloadingsaving
Save game data to be opened by load? Javascript
I am trying to save my games variables, I have looked everywhere but could not find any tuts on Javascript saving variable and how do i make the game load them when the player wants to load it? Please help!
Comment
Answer by Salman_Saleem · Aug 15, 2016 at 07:45 AM
You can use PlayerPrefs to save and load data.
Refer to this link. This documentation includes Java Script.
https://docs.unity3d.com/ScriptReference/PlayerPrefs.html
Let me know if it helps.
Your answer
