Obtenha unidade de componente de texto
GameObject.GetComponent<Text>().text = "Hello World!";
Comfortable Capybara
GameObject.GetComponent<Text>().text = "Hello World!";
numericalScore.GetComponent<UnityEngine.UI.Text>().text = "Score : " + scoreManager.score;