-
Notifications
You must be signed in to change notification settings - Fork 3
SaveData_ClassAPI
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
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.
SaveData()
- Default.
- Allows you to initialize this SaveData with a scene name.
- Turns this SaveData into a deep copy of the passed one.
virtual void SetFrom(SaveData other)
- Turns the calling SaveData into a deep copy of the passed SaveData.
- Clears all state this SaveData contains.