Exemplo n.º 1
0
 private void OnDisable()
 {
     CameraController.OnSceneChange     -= AggregateAppliableEventsForThisLocation;
     GameEvent.OnEventSelfTriggered     -= startTriggeringTimedEvent;
     GameEvent.AfterTimedEventTriggered -= UnRegisterEventFromQueue;
     GameEventSystem.UnRegisterListener
         (Event_Type.TRIGGER_EVENT,
         CallEventWithEventInfo); //Event subscribe : Triggeröityy aina trigger_event kutsusta
     GameEventSystem.UnRegisterListener(
         Event_Type.EVENT_REGISTER,
         RegisterEventToBeQueued);
 }
 private void OnDisable()
 {
     GameEventSystem.UnRegisterListener(Event_Type.FLAG_FIRE, addFlag);
 }
 private void OnDisable()
 {
     GameEventSystem.UnRegisterListener(Event_Type.CAMERA_TURN, ChangeLocationForward);
     //Kamera kääntyy? Sijainti muuttuu
 }
Exemplo n.º 4
0
 private void OnDisable()
 {
     GameEventSystem.UnRegisterListener(Event_Type.CREATE_BILLING, createBillFromEvent);
     Bill.onBillingCreate -= addBill;
 }
 private void OnDisable()
 {
     GameEventSystem.UnRegisterListener(Event_Type.DEBUG_COLOR_CHANGE, changeColor);
 }
 private void OnDisable()
 {
     LocationHandler.OnLocationChange -= incrementHunger;
     GameEventSystem.UnRegisterListener(Event_Type.SIMSTAT_CHANGE, incrementHunger);
 }
Exemplo n.º 7
0
 private void OnDisable()
 {
     GameEventSystem.UnRegisterListener(Event_Type.UI_ELEMENT_CALL, callNewUI);
     RandomEventUI.newEventTriggered -= checkEventUIEnable;
 }