Easily hide/show Unity Canvas elements.
Add the CanvasElementVisibility component script to the game object you want to hide/show and toggle the Visible property to change its visibility.
gameObject.GetComponent<CanvasElementVisibility>().Visible = true;