示例#1
0
 void reset()
 {
     // SceneManager.LoadScene(SceneManager.GetActiveScene().name);
     state = "idle";
     playerAlive.GetComponent <PlayerAlive>().alive         = true;
     playController.GetComponent <PlayController>().enabled = true;
     deathCam.SetActive(false);
     GameObject.Find("Player").transform.FindChild("Camera").gameObject.SetActive(true);
 }