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