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