unity best method to hide and show panel code example Example: how to hide a panel ui unity Panel.gameObject.SetActive (false);