You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CG-Tespy edited this page Jul 30, 2019
·
2 revisions
The abstract base class of all save data that the loaders and savers work with (not to be confused with Fungus's built-in SaveData class). Subclass this when extending the system to save data types that the system doesn't support by default.
Namespace: CGTUnity.Fungus.SaveSystem
Public Properties
string SceneName
Readable: yes
Writable: yes
Contains the name of the currently-active scene at the time of this SaveData's creation. Applies only if the right signal was invoked in the subclass's constructor.
Constructors
SaveData()
Default.
SaveData(string sceneName)
Allows you to initialize this SaveData with a scene name.
SaveData(SaveData other)
Turns this SaveData into a deep copy of the passed one.
Public Functions
virtual void SetFrom(SaveData other)
Turns the calling SaveData into a deep copy of the passed SaveData.