void Update() { string text = manager.ActualText(); if (text == "end") { text = " "; } this.GetComponent <TextMeshProUGUI>().text = text; }