// Start is called before the first frame update void UpdateStatsText() { string text = ""; text += "Max HP: " + statsScript.GetMaxHP().ToString(); text += "\nSpeed: " + statsScript.GetSpeed().ToString(); text += "\nLight: " + statsScript.GetLight().ToString(); textMeshPro.text = text; }