When Virtual Reality is enabled, the stereoTargetEye value determines which eyes of the Head Mounted Display (HMD) this camera renders to. The default is to render both eyes.
The values passed to stereoTargetEye are found in the StereoTargetEyeMask enum. Every camera will render to the Main Game Window by default. If you do not want to see the content from this camera in the Main Game Window, use a camera with a higher depth value than this camera, or set the Camera's showDeviceView value to false.
See Also: StereoTargetEyeMask.
GetComponent<Camera>().stereoTargetEye = StereoTargetEyeMask.Both;
this.GetComponent<Camera>().stereoTargetEye = StereoTargetEyeMask.Both;