コード例 #1
0
 public void PlayerDied()
 {
     gameState = GameState.PlayerDead;
     gameUI.BlockInput();
     Time.timeScale = .8f;
     Invoke("RestartLevel", 3f);
 }