void OnDestroy() { EventCoordinator.Detach(EventName.System.EndGame(), OnEndGame); EventCoordinator.Detach(EventName.Input.StartGame(), OnGameStart); EventCoordinator.Detach(EventName.System.MatchStarted(), MatchStarted); }
void OnDestroy() { EventCoordinator.Detach(EventName.Input.StartGame(), OnStartGame); EventCoordinator.Detach(EventName.System.Environment.EndMatch(), OnEndMatch); }