コード例 #1
0
        private void ResetLevel()
        {
            ScoreManager.score = 0;
            LevelManager lm = FindObjectOfType <LevelManager>();

            lm.LoadInitialLevel();
            anim.SetBool("GameOver", false);
            playerHealth.ResetPlayer();
        }
コード例 #2
0
 private void ResetLevel()
 {
     ScoreManager.score = 0;
     anim.SetBool("GameOver", false);
     playerHealth.ResetPlayer();
 }