GetComponent(MeshRenderer).enabled = false;
gameObject.SetActive(false);
if you cant see your ui, make sure the scale isn't 0, unity likes to do that