set text in unity invisible

Code Example - set text in unity invisible

                
                        text.gameObject.SetActive(false);