public override void OnInspectorGUI()
        {
            var buildTargetGroup = EditorGUILayout.BeginBuildTargetSelectionGrouping();

            OpenXRPackageSettings settings = serializedObject.targetObject as OpenXRPackageSettings;

            var openXrSettings = settings.GetSettingsForBuildTargetGroup(buildTargetGroup);

            var editor = UnityEditor.Editor.CreateEditor(openXrSettings);

            EditorGUI.BeginDisabledGroup(EditorApplication.isPlaying);

            EditorGUILayout.BeginVertical();
            editor.DrawDefaultInspector();

            if (buildTargetGroup == BuildTargetGroup.Standalone)
            {
                GUILayout.Space(Content.k_Space);
                OpenXRRuntimeSelector.DrawSelector();
            }

            EditorGUILayout.EndVertical();

            EditorGUI.EndDisabledGroup();

            EditorGUILayout.EndBuildTargetSelectionGrouping();
        }
        public override void OnInspectorGUI()
        {
            var buildTargetGroup = EditorGUILayout.BeginBuildTargetSelectionGrouping();

            OpenXRProjectValidationWindow.SetSelectedBuildTargetGroup(buildTargetGroup);

            OpenXRPackageSettings settings = serializedObject.targetObject as OpenXRPackageSettings;

            scrollPos = EditorGUILayout.BeginScrollView(scrollPos);

            EditorGUI.BeginDisabledGroup(EditorApplication.isPlaying);

            EditorGUILayout.BeginVertical();

            var openXrSettings           = settings.GetSettingsForBuildTargetGroup(buildTargetGroup);
            var serializedOpenXrSettings = new SerializedObject(openXrSettings);

            EditorGUIUtility.labelWidth = 200;
            DrawPropertiesExcluding(serializedOpenXrSettings, "m_Script");
            EditorGUIUtility.labelWidth = 0;

            if (serializedOpenXrSettings.hasModifiedProperties)
            {
                serializedOpenXrSettings.ApplyModifiedProperties();
            }

            if (buildTargetGroup == BuildTargetGroup.Standalone)
            {
                EditorGUILayout.Space();
                OpenXRRuntimeSelector.DrawSelector();
            }

            EditorGUILayout.EndVertical();


            if (m_FeatureEditor != null)
            {
                EditorGUILayout.Space();
                m_FeatureEditor.OnGUI(buildTargetGroup);
            }
            EditorGUI.EndDisabledGroup();

            EditorGUILayout.EndBuildTargetSelectionGrouping();

            EditorGUILayout.EndScrollView();
        }