public static void ShowConsoleWindow(bool immediate)
 {
     if (ms_ConsoleWindow == null)
     {
         ms_ConsoleWindow = ScriptableObject.CreateInstance <ConsoleWindow>();
         ms_ConsoleWindow.Show(immediate);
         ms_ConsoleWindow.Focus();
     }
     else
     {
         ms_ConsoleWindow.Show(immediate);
         ms_ConsoleWindow.Focus();
     }
 }
 public static void ShowConsoleWindow(bool immediate)
 {
     if (ms_ConsoleWindow == null)
     {
         ms_ConsoleWindow = ScriptableObject.CreateInstance <ConsoleWindow>();
         if (UnityEditor.MPE.ProcessService.level == MPE.ProcessLevel.Master)
         {
             ms_ConsoleWindow.Show(immediate);
         }
         else
         {
             ms_ConsoleWindow.ShowModalUtility();
         }
         ms_ConsoleWindow.Focus();
     }
     else
     {
         ms_ConsoleWindow.Show(immediate);
         ms_ConsoleWindow.Focus();
     }
 }
Exemple #3
0
 public static void ShowConsoleWindow(bool immediate)
 {
     if (ms_ConsoleWindow == null)
     {
         ms_ConsoleWindow = ScriptableObject.CreateInstance<ConsoleWindow>();
         ms_ConsoleWindow.Show(immediate);
         ms_ConsoleWindow.Focus();
     }
     else
     {
         ms_ConsoleWindow.Show(immediate);
         ms_ConsoleWindow.Focus();
     }
 }