Auto-saves when the game closes and auto-loads when the game opens.
More...
|
void | Restart (string startingSceneName) |
| Clears the saved game data and restarts the game at a specified scene.
|
|
Auto-saves when the game closes and auto-loads when the game opens.
Useful for mobile games.
◆ Restart()
void PixelCrushers.AutoSaveLoad.Restart |
( |
string |
startingSceneName | ) |
|
|
inline |
Clears the saved game data and restarts the game at a specified scene.
- Parameters
-
◆ dontSaveInScenes
int [] PixelCrushers.AutoSaveLoad.dontSaveInScenes = new int[0] |
◆ loadOnStart
bool PixelCrushers.AutoSaveLoad.loadOnStart = true |
◆ saveOnLoseFocus
bool PixelCrushers.AutoSaveLoad.saveOnLoseFocus = false |
◆ saveOnPause
bool PixelCrushers.AutoSaveLoad.saveOnPause = true |
◆ saveOnQuit
bool PixelCrushers.AutoSaveLoad.saveOnQuit = true |
◆ saveSlotNumber
int PixelCrushers.AutoSaveLoad.saveSlotNumber = 1 |
The documentation for this class was generated from the following file:
- C:/Dev/LoveHate/Dev/Source/Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/Misc/AutoSaveLoad.cs