public class Savegame
Thetype exposes the following members.
Creates a savegame with settings and default UnitySurrogateSelector.
Creates a savegame with the settings and selector.
Returns the full filepath to the savegame file
Return the full filepath to the file containing additionally saved types
Returns the SurrogateSelector of this Savegame
Add a default surrogate for type
Removes all saved gamedata.
Deletes the savefile from disk and clears all saved gamedata.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Load an object with its unique key. If the key is not found, this method throws an ArgumentException.
Load GameObjects, Components and other UnityEngine types with their unique key. If the key is not found, this method throws an ArgumentException.
Creates a shallow copy of the current Object.(Inherited from Object.)
Reads gamedata from disk and makes it available to load.
Removes saved gamedata with the given key.
Save an object with a unique key. If the key already exists, the value is overwritten. The object must be serializable. If the object is not serializable and does not have a serialization surrogate, an ArgumentException will be thrown.
Returns a string that represents the current object.(Inherited from Object.)
Writes all gamedata to disk. Will create a directory and/or file if needed.
Sets the LogLevel when saving or loading. Default is LogLevel.ReadingWriting.