ORK Framework  2.23.0
API Documentation
ORKFramework.Events.GlobalEvent Class Reference
Inheritance diagram for ORKFramework.Events.GlobalEvent:
ORKFramework.BaseIndexData ORKFramework.Events.IEventStarter ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 GlobalEvent (string n)
 
void LoadEvent ()
 
bool IsCallType ()
 
bool IsAutoType ()
 
bool IsKeyType ()
 
bool IsSceneType ()
 
bool IsFinished ()
 
void Tick (float delta)
 
bool Call ()
 
bool Call (object startingObject)
 
void EventEnded ()
 
void DontDestroy ()
 
void OnSceneLoaded ()
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

string name = ""
 
ORKGameEvent eventAsset
 
GlobalEventType type = GlobalEventType.Call
 
float timeout = 1
 
int keyID = 0
 
bool inOldScene = false
 
bool beforeFade = false
 
SceneLoadType sceneLoadType = SceneLoadType.All
 
GameState gameState = new GameState()
 
VariableCondition variables = new VariableCondition()
 

Properties

GameObject GameObject [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 
- Properties inherited from ORKFramework.Events.IEventStarter
GameObject GameObject [get]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0