void OnEnable() { if (EditorApplication.isPlayingOrWillChangePlaymode) { return; } SettingsWindow window = SDEUtility.OpenSettings(); //window.DisplayCommonSettings (true); }
static void RunOnce() { EditorApplication.update -= RunOnce; ScriptingSymbolsManager.SetAllVSSymbols(); SettingsWindow.showAtStartup = EditorPrefs.GetInt(SettingsWindow.PREFSHOWATSTARTUP, 1) == 1; if (SettingsWindow.showAtStartup) { SDEUtility.OpenSettings(); } }