Property | Type | Description | |
---|---|---|---|
loadAction | System.Action | ||
saveHistory |
Method | Description | |
---|---|---|
AddSavePoint ( string savePointKey, string savePointDescription ) : void |
Creates a new Save Point using a key and description, and adds it to the Save History.
|
|
ClearHistory ( ) : void |
Deletes all Save Points in the Save History.
|
|
Delete ( string saveDataKey = DefaultSaveDataKey ) : void |
Deletes a previously stored Save History from persistent storage.
|
|
FastForward ( ) : void |
Fast forwards to the next rewound Save Point in the Save History and loads that Save Point.
|
|
GetDebugInfo ( ) : string |
Returns an info string to help debug issues with the save data.
|
|
Load ( string saveDataKey = DefaultSaveDataKey ) : void |
Loads the Save History from persistent storage and loads the latest Save Point.
|
|
Rewind ( ) : void |
Rewinds to the previous Save Point in the Save History and loads that Save Point.
|
|
Save ( string saveDataKey = DefaultSaveDataKey ) : void |
Writes the Save History to persistent storage.
|
|
SaveDataExists ( string saveDataKey = DefaultSaveDataKey ) : bool |
Returns true if save data has previously been stored using this key.
|
Method | Description | |
---|---|---|
ExecuteBlocks ( string savePointKey ) : void |
Starts Block execution based on a Save Point Key The execution order is: 1. Save Point Loaded event handlers with a matching key. 2. First Save Point command (in any Block) with matching key. Execution starts at the following command. 3. Any label in any block with name matching the key. Execution starts at the following command.
|
|
ExecuteStartBlock ( ) : void |
Starts execution at the first Save Point found in the scene with the IsStartPoint property enabled.
|
|
LoadSavedGame ( string saveDataKey ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
OnSavePointLoaded ( string savePointKey ) : void | ||
OnSceneLoaded ( |
||
ReadSaveHistory ( string saveDataKey ) : bool | ||
Update ( ) : void | ||
WriteSaveHistory ( string saveDataKey ) : bool |
public AddSavePoint ( string savePointKey, string savePointDescription ) : void | ||
savePointKey | string | |
savePointDescription | string | |
return | void |
public Delete ( string saveDataKey = DefaultSaveDataKey ) : void | ||
saveDataKey | string | |
return | void |
protected ExecuteBlocks ( string savePointKey ) : void | ||
savePointKey | string | |
return | void |
public Load ( string saveDataKey = DefaultSaveDataKey ) : void | ||
saveDataKey | string | |
return | void |
protected LoadSavedGame ( string saveDataKey ) : void | ||
saveDataKey | string | |
return | void |
protected OnSavePointLoaded ( string savePointKey ) : void | ||
savePointKey | string | |
return | void |
protected OnSceneLoaded ( |
||
scene | ||
mode | LoadSceneMode | |
return | void |
protected ReadSaveHistory ( string saveDataKey ) : bool | ||
saveDataKey | string | |
return | bool |
public Save ( string saveDataKey = DefaultSaveDataKey ) : void | ||
saveDataKey | string | |
return | void |
public SaveDataExists ( string saveDataKey = DefaultSaveDataKey ) : bool | ||
saveDataKey | string | |
return | bool |
protected WriteSaveHistory ( string saveDataKey ) : bool | ||
saveDataKey | string | |
return | bool |