Exemplo n.º 1
0
 void Start()
 {
     playerHealth = pHealth;
     maxHealth    = playerHealth;
     hpBar.SetMaxHP(playerHealth);
     hpBar.PlayerHealthSetBar();
     DamageScreen.SetActive(false);
 }
Exemplo n.º 2
0
 void Start()
 {
     hpBar.SetMaxHP(targetHealth);
 }