예제 #1
0
 void Respawn()
 {
     hc.HealAll();
     RestoreOxygen();
     an.Play("player_swim_down");
     this.transform.position = new Vector3(-23, -44, 0);
     GameObject.Find("PIxel Perfect Camera").GetComponent <CameraScript>().ResetClamp(1);
 }
예제 #2
0
 public void Restore()
 {
     hc.HealAll();
     this.gameObject.SetActive(true);
 }