Exemple #1
0
        private void OpenPreferences()
        {
            var settings = SettingsWindow.Show(SettingsScope.User, "Preferences/Cache Server (global)");

            if (settings == null)
            {
                Debug.LogError("Could not find Preferences for 'Preferences/Cache Server (global)'");
            }
        }
Exemple #2
0
        private void OpenProjectSettings()
        {
            var settings = SettingsWindow.Show(SettingsScope.Project, "Project/Editor");

            if (settings == null)
            {
                Debug.LogError("Could not find Preferences for 'Project/Editor'");
            }
        }
Exemple #3
0
        void OpenProfilerPreferences()
        {
            var settings = SettingsWindow.Show(SettingsScope.User, "Preferences/Analysis/Profiler");

            if (settings == null)
            {
                Debug.LogError("Could not find Preferences for 'Analysis/Profiler'");
                return;
            }
        }
 internal static EditorWindow OpenUserPreferenceWindow()
 {
     return(SettingsWindow.Show(SettingsScope.User));
 }
 public static EditorWindow OpenUserPreferences(string settingsPath = null)
 {
     return(SettingsWindow.Show(SettingsScope.User, settingsPath));
 }
 public static EditorWindow OpenProjectSettings(string settingsPath = null)
 {
     return(SettingsWindow.Show(SettingsScope.Project, settingsPath));
 }