예제 #1
0
 void OnDestroy()
 {
     EventCoordinator.Detach(EventName.System.EndGame(), OnEndGame);
     EventCoordinator.Detach(EventName.Input.StartGame(), OnGameStart);
     EventCoordinator.Detach(EventName.System.MatchStarted(), MatchStarted);
 }
예제 #2
0
 void OnDestroy()
 {
     EventCoordinator.Detach(EventName.Input.StartGame(), OnStartGame);
     EventCoordinator.Detach(EventName.System.Environment.EndMatch(), OnEndMatch);
 }