Beispiel #1
0
 void takeDamage(int pDamage)
 {
     health -= pDamage;
     scriptUI.reducirPuntosVida(pDamage);
     Debug.Log("Player took: " + pDamage + " damage");
 }