public override void OnGUI(string searchContext) { ARCoreProjectSettingsGUI.OnGUI(false); if (GUI.changed) { ARCoreProjectSettings.Instance.Save(); } }
private void OnGUI() { OnGUIHeader(); ARCoreProjectSettingsGUI.OnGUI(true); OnGUIFooter(); if (GUI.changed) { ARCoreProjectSettings.Instance.Save(); } }
private void OnGUI() { OnGUIHeader(); _scrollPos = EditorGUILayout.BeginScrollView( _scrollPos, GUILayout.Width(position.width), GUILayout.Height(position.height - 100)); ARCoreProjectSettingsGUI.OnGUI(true); EditorGUILayout.EndScrollView(); OnGUIFooter(); if (GUI.changed) { ARCoreProjectSettings.Instance.Save(); } }