Provides inspector-selectable methods to control SaveSystem.
More...
Provides inspector-selectable methods to control SaveSystem.
void PixelCrushers.SaveSystemMethods.ApplySavedGameData |
( |
| ) |
|
Applies the most recently recorded game state.
void PixelCrushers.SaveSystemMethods.LoadFromSlot |
( |
int |
slotNumber | ) |
|
Loads the game previously-saved in the specified slot.
- Parameters
-
void PixelCrushers.SaveSystemMethods.LoadOrRestart |
( |
int |
slotNumber | ) |
|
Load the specified slot, or restart the game from the default starting scene if no save exists yet.
- Parameters
-
slotNumber | Slot number to load. |
void PixelCrushers.SaveSystemMethods.LoadScene |
( |
string |
sceneNameAndSpawnpoint | ) |
|
Changes scenes.
You can optionally specify a player spawnpoint by adding '@' and the spawnpoint GameObject name.
- Parameters
-
sceneNameAndSpawnpoint | Scene name followed by an optional at-sign and spawnpoint name. |
void PixelCrushers.SaveSystemMethods.RecordSavedGameData |
( |
| ) |
|
Records the current game state into the Save System.
void PixelCrushers.SaveSystemMethods.RestartGame |
( |
string |
startingSceneName | ) |
|
Resets all saved game data and restarts the game at the specified scene.
- Parameters
-
startingSceneName | Scene to restart at. |
void PixelCrushers.SaveSystemMethods.SaveSlot |
( |
int |
slotNumber | ) |
|
Saves the current game in the specified slot.
- Parameters
-
string PixelCrushers.SaveSystemMethods.defaultStartingSceneName |
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Release2/Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/Misc/SaveSystemMethods.cs