示例#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());
 }
示例#2
0
 void UpdateText()
 {
     ArmorText.text = Mathf.RoundToInt(HealthModel.GetTotalArmor()) + "/" +
                      Mathf.RoundToInt(HealthModel.GetTotalMaximumArmor());
 }