void UnRegisterDebug()
 {
     if (m_IsDebugRegistered)
     {
         FrameSettings.UnRegisterDebug(m_CameraRegisterName);
         m_IsDebugRegistered = false;
     }
 }
示例#2
0
 void UnRegisterDebug()
 {
     if (m_IsDebugRegistered)
     {
         if (m_camera.cameraType != CameraType.Preview && m_camera.cameraType != CameraType.Reflection)
         {
             FrameSettings.UnRegisterDebug(m_CameraRegisterName);
         }
         m_IsDebugRegistered = false;
     }
 }
        void UnRegisterDebug()
        {
            if (m_camera == null)
            {
                return;
            }

            if (m_IsDebugRegistered)
            {
                if (m_camera.cameraType != CameraType.Preview && m_camera.cameraType != CameraType.Reflection)
                {
                    FrameSettings.UnRegisterDebug(m_camera.name);
                }
                m_IsDebugRegistered = false;
            }
        }