예제 #1
0
 public void damage(float amt)    //Damage player
 {
     ph.damage(amt);
     if (OnHealthChange != null)
     {
         OnHealthChange(); //Call health change event
     }
 }