private void OnUnregistered(object sender, CameraRegistrationEvent e)
 {
     if (e.Camera != null)
     {
         GlobalPostProcessorHook.DisableHook(e.Camera);
     }
 }
        private void DisableGlobalHooks()
        {
            var e = CameraPool.GetEnumerator();

            while (e.MoveNext())
            {
                GlobalPostProcessorHook.DisableHook(e.Current);
            }
            _dirty = false;
        }