how to enable and disable canvas in unity code example Example: enable canvas unity CanvasObject.SetActive(false);