private void OnEnable()
 {
     VirtualCamera = GetComponent <CinemachineVirtualCameraBase>();
     if (VirtualCamera == null)
     {
         CinemachineDebugLogger.LogError("CinemachineFollowZoom requires a Cinemachine Virtual Camera component");
         enabled = false;
     }
     else
     {
         VirtualCamera.AddPostPipelineStageHook(PostPipelineStageCallback);
         enabled = true;
     }
 }
 private void OnEnable()
 {
     VirtualCamera = GetComponent <CinemachineVirtualCameraBase>();
     if (VirtualCamera == null)
     {
         CinemachineDebugLogger.LogError("CinemachineSmoother requires a Cinemachine Virtual Camera component");
         enabled = false;
     }
     else
     {
         VirtualCamera.AddPostPipelineStageHook(PostPipelineStageCallback);
         enabled = true;
     }
     mSmoothingFilter         = null;
     mSmoothingFilterRotation = null;
 }