public void UpdateHp(int currentHp) { var hpRatio = (float)currentHp / botStats.MaxHealth; playerHud.UpdateHp(hpRatio); }