// ゲーム終了処理 public void GameOver() { playing = false; gameMode.GameOver(); GameUI.Instance.Hide(); ResultUI.Instance.DisplayResult(); MainMenuUI.Instance.Display(); }
public void CheckForGameOver() { if (!BoltNetwork.isServer) { return; } if (gameMode.GameOver()) { gameMode.OnGameEnd(); CurrentGameState = GameState.POST_GAME; //more game over stuff here } }