protected override void SetupCommandBuffer(RenderTexture renderTexture)
            {
#if CAPTURE_ACTION
                CameraCaptureBridge.AddCaptureAction(targetCamera, AddCaptureCommands);
#else
                CameraCapture.AddCaptureAction(targetCamera, AddCaptureCommands);
#endif
            }
            public override void ReleaseCamera()
            {
#if CAPTURE_ACTION
                CameraCaptureBridge.RemoveCaptureAction(targetCamera, AddCaptureCommands);
#else
                CameraCapture.RemoveCaptureAction(targetCamera, AddCaptureCommands);
#endif
                base.ReleaseCamera();
            }
Пример #3
0
 public override void ReleaseCamera()
 {
     CameraCapture.RemoveCaptureAction(targetCamera, AddCaptureCommands);
     base.ReleaseCamera();
 }
Пример #4
0
 protected override void SetupCommandBuffer(RenderTexture renderTexture)
 {
     CameraCapture.AddCaptureAction(targetCamera, AddCaptureCommands);
 }