protected override void OnAwake() { Mode = ModeType.TX_THREAD; cmdBuffer = new CommandBuffer(); camSensor = gameObject.AddComponent <UnityEngine.Camera>(); universalCamData = camSensor.GetUniversalAdditionalCameraData(); // for controlling targetDisplay camSensor.targetDisplay = -1; camSensor.stereoTargetEye = StereoTargetEyeMask.None; cameraLink = transform.parent; }