Makinom  2.21.0
API Documentation
GamingIsLove.Makinom.SceneHandler Class Reference
Inheritance diagram for GamingIsLove.Makinom.SceneHandler:
GamingIsLove.Makinom.ISaveData

Public Member Functions

virtual void Clear ()
 
virtual void ClearScene (string sceneName, bool gameObjectSavers, bool prefabSavers)
 
virtual void SceneLoaded (string sceneName)
 
virtual void StoreCurrentScene (SceneLoadType loadType)
 
void SetScenePosition (string sceneName, SceneTargetInstance position)
 
SceneTargetInstance GetScenePosition (string sceneName)
 
virtual void SetGameObjectSaverData (string sceneName, string sceneGUID, DataObject data)
 
virtual DataObject GetGameObjectSaverData (string sceneName, string sceneGUID)
 
virtual void AddPrefabSaverData (string sceneName, PrefabSaver prefabSaver, DataObject data)
 
TerrainDataChanges GetTerrainChanges (string id)
 
void FireNavigationMarkersChanged ()
 
void ClearNavigationMarkers ()
 
void SetNavigationMarker (string name, NavigationMarker marker)
 
void RemoveNavigationMarker (string name)
 
void MarkNavigationMarkerRecalculation ()
 
List< NavigationMarkerGetNavigationMarkers (string markerType)
 
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...
 
virtual void UpgradeOldData (DataObject data)
 

Protected Member Functions

virtual SceneData GetSceneData (string sceneName, bool add)
 

Protected Attributes

bool blockSceneAutoRemove = false
 
Dictionary< string, SceneDatascenes = new Dictionary<string, SceneData>()
 

Properties

Notify NavigationMarkerChanged
 
virtual bool BlockSceneAutoRemove [get, set]
 
virtual SceneTargetInstance StoredScene [get, set]
 
bool RecalculateNavigationMarkerPaths [get]
 

Member Function Documentation

◆ LoadGame()

virtual void GamingIsLove.Makinom.SceneHandler.LoadGame ( DataObject  data)
virtual

Used to load the data - you need to get the data from the GamingIsLove.Makinom.DataObject.

Parameters
dataA GamingIsLove.Makinom.DataObject containing the data.

Implements GamingIsLove.Makinom.ISaveData.

◆ SaveGame()

virtual DataObject GamingIsLove.Makinom.SceneHandler.SaveGame ( )
virtual

Used to save the data - you need to add the data to a GamingIsLove.Makinom.DataObject.

Returns
A GamingIsLove.Makinom.DataObject containing the data.

Implements GamingIsLove.Makinom.ISaveData.