コード例 #1
0
ファイル: EventChain.cs プロジェクト: Kristonitas/fix-all
 void OnDestroy()
 {
     EventCoordinator.Detach(EventName.System.EndGame(), OnEndGame);
     EventCoordinator.Detach(EventName.Input.StartGame(), OnGameStart);
     EventCoordinator.Detach(EventName.System.MatchStarted(), MatchStarted);
 }
コード例 #2
0
ファイル: EventChain.cs プロジェクト: Darth-Carrotpie/GGJ2021
 void OnDestroy()
 {
     EventCoordinator.Detach(EventName.Input.StartGame(), OnStartGame);
     EventCoordinator.Detach(EventName.System.Environment.EndMatch(), OnEndMatch);
 }