void UnregisterEventListeners( ) { if (null != event_UnityEngine_GameObject_Instance_0) { { uScript_Update component = event_UnityEngine_GameObject_Instance_0.GetComponent <uScript_Update>(); if (null != component) { component.OnUpdate -= Instance_OnUpdate_0; component.OnLateUpdate -= Instance_OnLateUpdate_0; component.OnFixedUpdate -= Instance_OnFixedUpdate_0; } } } if (null != event_UnityEngine_GameObject_Instance_3) { { uScript_Trigger component = event_UnityEngine_GameObject_Instance_3.GetComponent <uScript_Trigger>(); if (null != component) { component.OnEnterTrigger -= Instance_OnEnterTrigger_3; component.OnExitTrigger -= Instance_OnExitTrigger_3; component.WhileInsideTrigger -= Instance_WhileInsideTrigger_3; } } } }
void UnregisterEventListeners( ) { if (null != local_19_UnityEngine_GameObject) { { uScript_Input component = local_19_UnityEngine_GameObject.GetComponent <uScript_Input>(); if (null != component) { component.KeyEvent -= Instance_KeyEvent_0; } } } if (null != event_UnityEngine_GameObject_Instance_7) { { uScript_Update component = event_UnityEngine_GameObject_Instance_7.GetComponent <uScript_Update>(); if (null != component) { component.OnUpdate -= Instance_OnUpdate_7; component.OnLateUpdate -= Instance_OnLateUpdate_7; component.OnFixedUpdate -= Instance_OnFixedUpdate_7; } } } }
void SyncEventListeners( ) { { { { //if our game object reference was changed then we need to reset event listeners if (property_tokens_Detox_ScriptEditor_Parameter_Instance_0_previous != property_tokens_Detox_ScriptEditor_Parameter_Instance_0 || false == m_RegisteredForEvents) { //tear down old listeners property_tokens_Detox_ScriptEditor_Parameter_Instance_0_previous = property_tokens_Detox_ScriptEditor_Parameter_Instance_0; //setup new listeners } } } } { { { //if our game object reference was changed then we need to reset event listeners if (property_text_Detox_ScriptEditor_Parameter_Instance_4_previous != property_text_Detox_ScriptEditor_Parameter_Instance_4 || false == m_RegisteredForEvents) { //tear down old listeners property_text_Detox_ScriptEditor_Parameter_Instance_4_previous = property_text_Detox_ScriptEditor_Parameter_Instance_4; //setup new listeners } } } } if (null == event_UnityEngine_GameObject_Instance_5 || false == m_RegisteredForEvents) { event_UnityEngine_GameObject_Instance_5 = uScript_MasterComponent.LatestMaster; if (null != event_UnityEngine_GameObject_Instance_5) { { uScript_Update component = event_UnityEngine_GameObject_Instance_5.GetComponent <uScript_Update>(); if (null == component) { component = event_UnityEngine_GameObject_Instance_5.AddComponent <uScript_Update>(); } if (null != component) { component.OnUpdate += Instance_OnUpdate_5; component.OnLateUpdate += Instance_OnLateUpdate_5; component.OnFixedUpdate += Instance_OnFixedUpdate_5; } } } } }
void UnregisterEventListeners( ) { if (null != event_UnityEngine_GameObject_Instance_0) { { uScript_Update component = event_UnityEngine_GameObject_Instance_0.GetComponent <uScript_Update>(); if (null != component) { component.OnUpdate -= Instance_OnUpdate_0; component.OnLateUpdate -= Instance_OnLateUpdate_0; component.OnFixedUpdate -= Instance_OnFixedUpdate_0; } } } }
void SyncEventListeners( ) { if (null == event_UnityEngine_GameObject_Instance_0 || false == m_RegisteredForEvents) { event_UnityEngine_GameObject_Instance_0 = uScript_MasterComponent.LatestMaster; if (null != event_UnityEngine_GameObject_Instance_0) { { uScript_Update component = event_UnityEngine_GameObject_Instance_0.GetComponent <uScript_Update>(); if (null == component) { component = event_UnityEngine_GameObject_Instance_0.AddComponent <uScript_Update>(); } if (null != component) { component.OnUpdate += Instance_OnUpdate_0; component.OnLateUpdate += Instance_OnLateUpdate_0; component.OnFixedUpdate += Instance_OnFixedUpdate_0; } } } } if (null == event_UnityEngine_GameObject_Instance_3 || false == m_RegisteredForEvents) { event_UnityEngine_GameObject_Instance_3 = GameObject.Find("NewSlowZone") as UnityEngine.GameObject; if (null != event_UnityEngine_GameObject_Instance_3) { { uScript_Trigger component = event_UnityEngine_GameObject_Instance_3.GetComponent <uScript_Trigger>(); if (null == component) { component = event_UnityEngine_GameObject_Instance_3.AddComponent <uScript_Trigger>(); } if (null != component) { component.OnEnterTrigger += Instance_OnEnterTrigger_3; component.OnExitTrigger += Instance_OnExitTrigger_3; component.WhileInsideTrigger += Instance_WhileInsideTrigger_3; } } } } }
void SyncEventListeners( ) { if (null == event_UnityEngine_GameObject_Instance_0 || false == m_RegisteredForEvents) { event_UnityEngine_GameObject_Instance_0 = uScript_MasterComponent.LatestMaster; if (null != event_UnityEngine_GameObject_Instance_0) { { uScript_Update component = event_UnityEngine_GameObject_Instance_0.GetComponent <uScript_Update>(); if (null == component) { component = event_UnityEngine_GameObject_Instance_0.AddComponent <uScript_Update>(); } if (null != component) { component.OnUpdate += Instance_OnUpdate_0; component.OnLateUpdate += Instance_OnLateUpdate_0; component.OnFixedUpdate += Instance_OnFixedUpdate_0; } } } } }