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