Exemple #1
0
    private void Update()
    {
        float xScale = unitDamage.GetHp() / maxHp;

        HpBarGraphic.SetUIBar(xScale);
    }
Exemple #2
0
 public float GetHp()
 {
     return(damagable.GetHp());
 }