public static T GetWindow <T>(params Type[] desiredDockNextTo) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(null, true, desiredDockNextTo));
 }
 public static T GetWindow <T>(string title, params Type[] desiredDockNextTo) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(title, true, desiredDockNextTo));
 }
 public static T GetWindow <T>(string title, bool focus) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(false, title, focus));
 }
 public static T GetWindow <T>(bool utility, string title, bool focus) where T : EditorWindow
 {
     return(EditorWindow.GetWindow(typeof(T), utility, title, focus) as T);
 }
 public static T GetWindow <T>(string title) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(title, true));
 }
 public static T GetWindow <T>(bool utility, string title) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(utility, title, true));
 }
 public static T GetWindow <T>(bool utility) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(utility, null, true));
 }
 public static T GetWindow <T>() where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(false, null, true));
 }
        public static EditorWindow GetWindow(Type t, bool utility, string title)
        {
            bool focus = true;

            return(EditorWindow.GetWindow(t, utility, title, focus));
        }