Esempio n. 1
0
 public override void _ExitTree()
 {
     MainEvent.UnregisterListener(UIEventFired);
     UnitDeathEvent.UnregisterListener(EndGame);
     WinEvent.UnregisterListener(WinTriggered);
     LoseEvent.UnregisterListener(LostTriggered);
 }
Esempio n. 2
0
 public override void _ExitTree()
 {
     UnitDeathEvent.UnregisterListener(UnitDeath);
     WinEvent.UnregisterListener(WinTriggered);
     LoseEvent.UnregisterListener(LoseTriggered);
 }