Exemplo n.º 1
0
 public static T GetWindow <T>(params Type[] desiredDockNextTo) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(null, true, desiredDockNextTo));
 }
Exemplo n.º 2
0
 public static T GetWindow <T>(string title, params Type[] desiredDockNextTo) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(title, true, desiredDockNextTo));
 }
Exemplo n.º 3
0
 public static T GetWindow <T>(string title, bool focus) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(false, title, focus));
 }
Exemplo n.º 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);
 }
Exemplo n.º 5
0
 public static T GetWindow <T>(string title) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(title, true));
 }
Exemplo n.º 6
0
 public static T GetWindow <T>(bool utility, string title) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(utility, title, true));
 }
Exemplo n.º 7
0
 public static T GetWindow <T>(bool utility) where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(utility, null, true));
 }
Exemplo n.º 8
0
 public static T GetWindow <T>() where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(false, null, true));
 }
Exemplo n.º 9
0
        public static EditorWindow GetWindow(Type t, bool utility, string title)
        {
            bool focus = true;

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