public override void TakeDamage() { if (entityStateCurrent == EntityStates.Dead) { return; } healthCurrent -= attackDamage; hbScript.PlayerHealthChange(healthCurrent); DamageIndicator _dmgI = GetComponent <DamageIndicator>(); _dmgI.Hit(); }
public override void TakeDamage() { if (entityStateCurrent == EntityStates.Dead) { return; } healthCurrent -= attackDamage; hbScript.PlayerHealthChange(healthCurrent); DamageIndicator _dmgI = GetComponent <DamageIndicator>(); _dmgI.Hit(); }