how to hide or show a UI element in unity code example Example: how to hide ui elements unity GameObject.Find("the object name").SetActive(false);