Example #1
0
 public void Damage()
 {
     pHP.hpAtm           = pHP.hpAtm - dmg;
     pHP.healthBar.value = pHP.CalculateHP();
     this.gameObject.SetActive(false);
 }