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);
 }