LoadStateFromPersistentStorage(string)
Summary
public bool LoadStateFromPersistentStorage(string saveFileName)Remarks
Parameters
Name
Description
Returns
Last updated
Was this helpful?
Method in DialogueRunner
Loads all variables from the requested file in persistent storage into the Dialogue Runner's variable storage.
public bool LoadStateFromPersistentStorage(string saveFileName)This method loads the file saveFileName from the persistent data storage and attempts to read it as JSON. This is then deserialised and loaded into the VariableStorage.
The loaded information can be stored via the SaveStateToPersistentStorage(string) method.
string saveFileName
the name the save file should have on disc, including any file extension
true if the variables were successfully loaded from the player preferences; false otherwise.
Last updated
Was this helpful?
Was this helpful?
