示例#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));
        }