![]() |
Makinom
2.21.0
API Documentation
|
Public Member Functions | |
SceneData (DataObject data) | |
virtual void | Clear (bool gameObjectSavers, bool prefabSavers) |
virtual void | SetAutoRemove () |
virtual void | SceneLoaded (bool isScene, bool blockAutoRemove) |
virtual void | SetGameObjectSaverData (string sceneGUID, DataObject data) |
virtual DataObject | GetGameObjectSaverData (string sceneGUID) |
virtual void | AddPrefabSaverData (PrefabSaver guid, DataObject data) |
virtual void | SpawnAllPrefabSavers () |
virtual DataObject | SaveGame (string sceneName, bool isCurrentScene) |
virtual DataObject | SaveGame () |
Used to save the data - you need to add the data to a GamingIsLove.Makinom.DataObject. More... | |
virtual void | LoadGame (DataObject data) |
Used to load the data - you need to get the data from the GamingIsLove.Makinom.DataObject. More... | |
Protected Attributes | |
SceneTargetInstance | scenePosition |
Dictionary< string, DataObject > | gameObjectSaverData = new Dictionary<string, DataObject>() |
int | gameObjectSaverRemoveAfter = -1 |
Dictionary< PrefabSaver, List< DataObject > > | prefabSaverData = new Dictionary<PrefabSaver, List<DataObject>>() |
int | prefabSaverRemoveAfter = -1 |
Properties | |
virtual SceneTargetInstance | ScenePosition [get, set] |
|
virtual |
Used to load the data - you need to get the data from the GamingIsLove.Makinom.DataObject.
data | A GamingIsLove.Makinom.DataObject containing the data. |
Implements GamingIsLove.Makinom.ISaveData.
|
virtual |
Used to save the data - you need to add the data to a GamingIsLove.Makinom.DataObject.
Implements GamingIsLove.Makinom.ISaveData.