Свойство | Тип | Описание | |
---|---|---|---|
loadAction | System.Action | ||
saveHistory |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public Delete ( string saveDataKey = DefaultSaveDataKey ) : void | ||
saveDataKey | string | |
Результат | void |
protected ExecuteBlocks ( string savePointKey ) : void | ||
savePointKey | string | |
Результат | void |
public Load ( string saveDataKey = DefaultSaveDataKey ) : void | ||
saveDataKey | string | |
Результат | void |
protected LoadSavedGame ( string saveDataKey ) : void | ||
saveDataKey | string | |
Результат | void |
protected OnSavePointLoaded ( string savePointKey ) : void | ||
savePointKey | string | |
Результат | void |
protected OnSceneLoaded ( |
||
scene | ||
mode | LoadSceneMode | |
Результат | void |
protected ReadSaveHistory ( string saveDataKey ) : bool | ||
saveDataKey | string | |
Результат | bool |
public Save ( string saveDataKey = DefaultSaveDataKey ) : void | ||
saveDataKey | string | |
Результат | void |
public SaveDataExists ( string saveDataKey = DefaultSaveDataKey ) : bool | ||
saveDataKey | string | |
Результат | bool |
protected WriteSaveHistory ( string saveDataKey ) : bool | ||
saveDataKey | string | |
Результат | bool |