Exemplo n.º 1
0
        void OnEnable()
        {
            if (EditorApplication.isPlayingOrWillChangePlaymode)
            {
                return;
            }

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

            ScriptingSymbolsManager.SetAllVSSymbols();

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