예제 #1
0
 public void Death()
 {
     canMove      = false;
     cameraFreeze = true;
     cameraMove   = 0;
     this.gameObject.transform.SetParent(null);
     this.gameObject.GetComponent <CapsuleCollider>().enabled = false;
     score.CheckHighScore();
     Invoke("StopFalling", 1f);
 }