public virtual void AddItemsToMenu(GenericMenu menu)
        {
            bool floating = PolybrushSettings.Get <bool>(utilityWindowKey, SettingsScope.Project, false);

            if (menu.GetItemCount() > 1)
            {
                menu.AddSeparator("");
            }

            menu.AddItem(new GUIContent("Open as Floating Window", ""), floating, () => SetIsUtilityWindow(true));
            menu.AddItem(new GUIContent("Open as Dockable Window", ""), !floating, () => SetIsUtilityWindow(false));

            menu.AddSeparator("");
        }
 protected static bool IsUtilityWindow <T>(bool defaultIsUtility = false) where T : ConfigurableWindow
 {
     return(PolybrushSettings.Get <bool>(typeof(T).ToString() + "-isUtilityWindow", SettingsScope.Project, defaultIsUtility));
 }