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