/// <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(); }
public void UpdateHealth() { p1HealthText.text = player1Health.ToString(); p2HealthText.text = Player2Health.ToString(); }