private void UpdateText() //update the armor value with percentage when picking up new armor { ArmorText.text = Mathf.RoundToInt(HealthModel.GetTotalArmor()) + "/" + Mathf.RoundToInt(HealthModel.GetTotalMaximumArmor()); }
void UpdateText() { ArmorText.text = Mathf.RoundToInt(HealthModel.GetTotalArmor()) + "/" + Mathf.RoundToInt(HealthModel.GetTotalMaximumArmor()); }