The checkbox on the left of the Game Object name (Player Rig) and the right of the cube is for showing and hiding the gameObject. I want to be able to enable and disable that checkbox (NOT the MeshRenderer!)
I suppose it is something like
GetComponent<Checkbox>().enabled = false;
How do you enable/disable that checkbox?