text.guitext unity code example Example: unity gui text public Text myText; void Start() { myText.text = "This is my text"; }