예제 #1
0
 public void playerGetsHurt()
 {
     Debug.Log("Player Gets Hurt");
     animator.Play("PlayerHit");
     //Pause Game for 1 Second
     if (livesControllerScript != null)
     {
         livesControllerScript.playerGetsHurt();
     }
     this.reset();
 }