unity canvas object enable in script code example Example: enable canvas unity CanvasObject.SetActive(false);