private void Update() { float xScale = unitDamage.GetHp() / maxHp; HpBarGraphic.SetUIBar(xScale); }
public float GetHp() { return(damagable.GetHp()); }