Saving, and Loading
v4.0
To save the game, simply call:
SaveAndLoad.saveAndLoad.Save()
If you would like to load game data manually, or load the last saved data, call:
Load(saveGameId); // Specify a saveGameId to load from the Game List
SaveAndLoad.saveAndLoad.LoadLastGame(); // Loads the last saved game
The Save and Load module will automatically call Load()
when a scene is loaded. You can have the script skip specific scenes by adding their names into the doNotLoadOnScenes
list, in the Inspector.

Last updated
Was this helpful?