コード例 #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);
 }
コード例 #2
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.CardSelected(), OnModifyResource);
 }
コード例 #3
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.StartGame(), OnGameStart);
     EventCoordinator.StopListening(EventName.Input.ResetGame(), OnGameReset);
     EventCoordinator.StopListening(EventName.System.EndGame(), OnEndGame);
 }
コード例 #4
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.System.CardsImported(), OnCardsImported);
 }
コード例 #5
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.CardSelected(), OnCardSelected);
 }
コード例 #6
0
ファイル: CardFactory.cs プロジェクト: Kristonitas/fix-all
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.Swipe.FinishRight(), OnSwipeRight);
     EventCoordinator.StopListening(EventName.Input.Swipe.FinishLeft(), OnSwipeLeft);
     EventCoordinator.StopListening(EventName.System.MatchStarted(), OnMatchStarted);
 }
コード例 #7
0
 private void OnDestroy()
 {
     EventCoordinator.StopListening(eventName, OnPlayerEliminated);
 }
コード例 #8
0
ファイル: GameEndHandler.cs プロジェクト: Kristonitas/fix-all
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.System.Economy.ResourceChanged(), OnResourceChanged);
 }
コード例 #9
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.System.Economy.ModifyResource(), OnModifyResource);
 }
コード例 #10
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.StartGame(), ClearCards);
     EventCoordinator.StopListening(EventName.System.EndGame(), ClearCards);
 }
コード例 #11
0
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.System.Story.UnlockEnding(), OnUnlock);
     EventCoordinator.StopListening(EventName.UI.ShowPostScreen(), OnShow);
 }
コード例 #12
0
ファイル: ResultWriter.cs プロジェクト: Kristonitas/fix-all
 void OnDestroy()
 {
     EventCoordinator.StopListening(EventName.Input.CardSelected(), OnCardSelected);
     EventCoordinator.StopListening(EventName.UI.ShowPostScreen(), OnShowPostScreen);
     EventCoordinator.StopListening(EventName.Input.ResetGame(), OnReset);
 }