Beispiel #1
0
 /// <summary>
 /// Updates the GUI with appropriate data when called
 /// </summary>
 public void UpdateUI()
 {
     plyr1health.text = Player1Health.ToString();
     plyr2health.text = Player2Health.ToString();
     totalxp.text     = TotalExperience.ToString();
     currentGP.text   = CurrentGP.ToString();
 }
Beispiel #2
0
 public void UpdateHealth()
 {
     p1HealthText.text = player1Health.ToString();
     p2HealthText.text = Player2Health.ToString();
 }