Makinom  2.21.0
API Documentation
GamingIsLove.Makinom.NavigationMarker Class Reference
Inheritance diagram for GamingIsLove.Makinom.NavigationMarker:
GamingIsLove.Makinom.BaseData GamingIsLove.Makinom.ISaveData GamingIsLove.Makinom.IBaseData

Public Member Functions

 NavigationMarker (DataObject data)
 
 NavigationMarker (string markerType, GameObject gameObject)
 
virtual void Check (DataCall call, Vector3 checkPosition, string currentSceneName, bool recalculate)
 
virtual void AddPosition (Vector3 pos)
 
virtual GameObject GetGameObject (int index)
 
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...
 
- Public Member Functions inherited from GamingIsLove.Makinom.BaseData
virtual DataObject GetData ()
 Gets a GamingIsLove.Makinom.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a GamingIsLove.Makinom.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for the field defined using the settingAutoSetup option of the GamingIsLove.Makinom.EditorInfoAttribute. More...
 

Public Attributes

string markerType = ""
 
string sceneName = ""
 
bool isFindObject = false
 
FindObjectSetting findObject
 
Vector3 position = Vector3.zero
 

Properties

bool CanSave [get]
 
virtual bool IsGameObject [get]
 
virtual bool Found [get]
 
virtual int Count [get]
 
virtual Vector3 this[int index] [get]
 

Member Function Documentation

◆ LoadGame()

virtual void GamingIsLove.Makinom.NavigationMarker.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.NavigationMarker.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.