Пример #1
0
 public static T GetWindow <T>(params Type[] desiredDockNextTo) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(null, true, desiredDockNextTo));
 }
Пример #2
0
 public static T GetWindow <T>(string title, params Type[] desiredDockNextTo) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(title, true, desiredDockNextTo));
 }
Пример #3
0
 public static T GetWindow <T>(string title, bool focus) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(false, title, focus));
 }
Пример #4
0
 public static T GetWindow <T>(bool utility, string title, bool focus) where T : EditorWindow
 {
     return(EditorWindow.GetWindow(typeof(T), utility, title, focus) as T);
 }
Пример #5
0
 public static T GetWindow <T>(string title) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(title, true));
 }
Пример #6
0
 public static T GetWindow <T>(bool utility, string title) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(utility, title, true));
 }
Пример #7
0
 public static T GetWindow <T>(bool utility) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(utility, null, true));
 }
Пример #8
0
 public static T GetWindow <T>() where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(false, null, true));
 }
Пример #9
0
        public static EditorWindow GetWindow(Type t, bool utility, string title)
        {
            bool focus = true;

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