public override void OnInspectorGUI()
        {
            m_SerializedCamera.Update();

            HDCameraUI.Inspector.Draw(m_SerializedCamera, this);

            m_SerializedCamera.Apply();
        }
Example #2
0
        public override void OnInspectorGUI()
        {
            m_SerializedCamera.Update();

            if (HDEditorUtils.IsPresetEditor(this))
            {
                HDCameraUI.PresetInspector.Draw(m_SerializedCamera, this);
            }
            else
            {
                HDCameraUI.Inspector.Draw(m_SerializedCamera, this);
            }

            m_SerializedCamera.Apply();
        }