void OnEnable()
        {
            if (EditorApplication.isPlayingOrWillChangePlaymode)
            {
                return;
            }

            SettingsWindow window = SDEUtility.OpenSettings();
            //window.DisplayCommonSettings (true);
        }
Example #2
0
        static void RunOnce()
        {
            EditorApplication.update -= RunOnce;

            ScriptingSymbolsManager.SetAllVSSymbols();

            SettingsWindow.showAtStartup = EditorPrefs.GetInt(SettingsWindow.PREFSHOWATSTARTUP, 1) == 1;
            if (SettingsWindow.showAtStartup)
            {
                SDEUtility.OpenSettings();
            }
        }