How to get a plane and switch visibility?

In my program I start with a plane in front of the camera. At the click of a button or key press I want it to disappear. It should also be visible again when the button is pressed again.

  • How do I get access to the plane?
  • How to render and not render it?

plane name: PreScreen

Ok… maybe I should try more before asking. solved it.

GameObject PreScreen;
if (Input.GetKeyDown(KeyCode.P))
		{
			PreScreen = GameObject.Find("PreScreen");
			PreScreen.renderer.enabled = !PreScreen.renderer.enabled;
		}