コード例 #1
0
 void OnPlayerDied()
 {
     gameOver      = true;
     gameOverLogic = new GameOverLogic(gameOverPage);
     gameOverLogic.DrawPage(Won);
     SetPageState(PageState.GameOver);
 }
コード例 #2
0
 private void OnPlayerDied()
 {
     gameOver         = true;
     Joystick.IsAwake = false;
     SetPageState(PageState.GameOver);
     gameOverLogic = new GameOverLogic(GameOverPage);
     gameOverLogic.DrawPage(won);
 }
コード例 #3
0
 public void GameOver()
 {
     Time.timeScale = 0;
     gameOver       = true;
     gameOverPannel.SetActive(true);
     gameOverLogic = new GameOverLogic(gameOverPannel);
     gameOverLogic.DrawPage(won);
 }