Example #1
0
 public void Hit(float receivedDamage)
 {
     Debug.Log("Ay!");
     blood.Play();
     lives = lives - receivedDamage;
     life.SendMessage("Hit", receivedDamage);
 }