예제 #1
0
        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();
            }
        }
예제 #3
0
        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();
            }
        }