コード例 #1
0
 public static EditorWindow ShowWindow(Type editorWindowType)
 {
     return(EditorWindow.GetWindow(editorWindowType, EE.IsUtilityWindow(editorWindowType)));
 }
コード例 #2
0
 public static T ShowWindow <T>() where T : EditorWindow
 {
     return((T)EditorWindow.GetWindow(typeof(T), EE.IsUtilityWindow(typeof(T))));
 }
コード例 #3
0
 public static T GetOrCreate()
 {
     return(GetWindow <T>(EE.IsUtilityWindow(typeof(T))));
 }
コード例 #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))));
 }
コード例 #5
0
 public static void Open()
 {
     var window = GetWindow <BuildAssistWindow>(EE.IsUtilityWindow(typeof(BuildAssistWindow)));
 }