private void OnGUI() { Title(); EditorWindowUtils.BeginVertical(); scrollPosition = EditorWindowUtils.BeginScrollView(scrollPosition); switch (_page) { case Page.Welcome: welcomeWindow.OnGUI(); break; case Page.Release_Notes: releaseNotesWindow.OnGUI(); break; case Page.Log_Settings: logSettingsWindow.OnGUI(); break; default: welcomeWindow.OnGUI(); break; } EditorWindowUtils.EndScrollView(); EditorWindowUtils.EndVertical(); EditorWindowUtils.Space(10); UndoableInputFieldUtils.BoolFieldWithTooltip(() => { forceShow = EditorPrefs.GetBool(editor_About_ForcePopUp, false); return(forceShow); }, b => { forceShow = b; EditorPrefs.SetBool(editor_About_ForcePopUp, b); }, " Automatically Pop-up", "Display this window when opening Unity. Alternatively, this widow can be opened from LeiaLoft-> About", window); EditorWindowUtils.Space(10); }