Exemple #1
0
 void OnDestroy()
 {
     SceneManager.sceneLoaded -= OnSceneLoading;
     EventCoordinator.StopListening(EventName.Input.StartGame(), OnStartGame);
     EventCoordinator.StopListening(EventName.System.Environment.EndMatch(), OnEndGame);
     EventCoordinator.StopListening(EventName.System.Environment.CleanScene(), OnSceneClean);
     EventCoordinator.StopListening(EventName.System.SceneLoaded(), OnSceneLoaded);
 }
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.CardSelected(), OnModifyResource);
 }
Exemple #3
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.StartGame(), OnGameStart);
     EventCoordinator.StopListening(EventName.Input.ResetGame(), OnGameReset);
     EventCoordinator.StopListening(EventName.System.EndGame(), OnEndGame);
 }
Exemple #4
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.System.CardsImported(), OnCardsImported);
 }
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.CardSelected(), OnCardSelected);
 }
Exemple #6
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.Swipe.FinishRight(), OnSwipeRight);
     EventCoordinator.StopListening(EventName.Input.Swipe.FinishLeft(), OnSwipeLeft);
     EventCoordinator.StopListening(EventName.System.MatchStarted(), OnMatchStarted);
 }
Exemple #7
0
 private void OnDestroy()
 {
     EventCoordinator.StopListening(eventName, OnPlayerEliminated);
 }
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.System.Economy.ResourceChanged(), OnResourceChanged);
 }
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.System.Economy.ModifyResource(), OnModifyResource);
 }
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.StartGame(), ClearCards);
     EventCoordinator.StopListening(EventName.System.EndGame(), ClearCards);
 }
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.System.Story.UnlockEnding(), OnUnlock);
     EventCoordinator.StopListening(EventName.UI.ShowPostScreen(), OnShow);
 }
Exemple #12
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.CardSelected(), OnCardSelected);
     EventCoordinator.StopListening(EventName.UI.ShowPostScreen(), OnShowPostScreen);
     EventCoordinator.StopListening(EventName.Input.ResetGame(), OnReset);
 }