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