public override void OnInspectorGUI() { m_SerializedCamera.Update(); HDCameraUI.Inspector.Draw(m_SerializedCamera, this); m_SerializedCamera.Apply(); }
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(); }