set text in unity invisible code example Example: set text in unity invisible text.gameObject.SetActive(false);