Exemplo n.º 1
0
 public static EditorWindow ShowWindow(Type editorWindowType)
 {
     return(EditorWindow.GetWindow(editorWindowType, EE.IsUtilityWindow(editorWindowType)));
 }
Exemplo n.º 2
0
 public static T ShowWindow <T>() where T : EditorWindow
 {
     return((T)EditorWindow.GetWindow(typeof(T), EE.IsUtilityWindow(typeof(T))));
 }
Exemplo n.º 3
0
 public static T GetOrCreate()
 {
     return(GetWindow <T>(EE.IsUtilityWindow(typeof(T))));
 }
Exemplo n.º 4
0
 /*
  * NormalWindow,
  * PopupMenu,
  * Utility,
  * NoShadow,
  * MainWindow,
  * AuxWindow,
  * Tooltip,
  * ModalUtility
  */
 public static T GetWindow <T>() where T : EditorWindow
 {
     return(EditorWindow.GetWindow <T>(EE.IsUtilityWindow(typeof(T))));
 }
Exemplo n.º 5
0
 public static void Open()
 {
     var window = GetWindow <BuildAssistWindow>(EE.IsUtilityWindow(typeof(BuildAssistWindow)));
 }