Exemple #1
0
 public override void _ExitTree()
 {
     SendUIEvent.UnregisterListener(ChangeState);
     SendProgramEvent.UnregisterListener(GetProgram);
 }
Exemple #2
0
 public override void _ExitTree()
 {
     SendUIEvent.UnregisterListener(StartGame);
     DeathEvent.UnregisterListener(LoseGame);
     WinEvent.RegisterListener(WinGame);
 }