SaveStateToPersistentStorage(string)
Summary
public bool SaveStateToPersistentStorage(string saveFileName)Remarks
Parameters
Name
Description
Returns
Last updated
Was this helpful?
Method in DialogueRunner
Saves all variables from variable storage into the persistent storage.
public bool SaveStateToPersistentStorage(string saveFileName)This method attempts to writes the contents of VariableStorage as a JSON file and saves it to the persistent data storage under the file name saveFileName. The saved information can be loaded via the LoadStateFromPersistentStorage(string) method.
If saveFileName already exists, it will be overwritten, not appended.
string saveFileName
the name the save file should have on disc, including any file extension
true if the variables were successfully written into the player preferences; false otherwise.
Last updated
Was this helpful?
Was this helpful?
