Turning off camera

I read that extra camera can significantly reduce performance. And in the moments when the camera is not in use it is better off.
However, options off too much.

  1. Camera.enable = false
  2. CameraGameObject.SetActive(false);
  3. CameraGameObject.renderer.enabled = false

How to turn off the camera?

Camera.enabled = false

This should work properly.
You don’t need to deactivate gameobject which contains camera. You just need to disable camera component of the object.

Thanks