Console Log View Window @TinyTeam,chiuanwei
Inheritance: EditorWindow
Exemplo n.º 1
0
 static void OpenWindow(string filePath)
 {
     if (window != null)
     {
         window.Close();
     }
     window = (ConsoleEditorWindow)GetWindow(
         typeof(ConsoleEditorWindow),
         true,
         "Console Log View",
         true
         );
     window.minSize         = new Vector2(1024, 768);
     window.currentFilePath = filePath;
     window.Init();
     window.Show();
 }
Exemplo n.º 2
0
 static void OpenWindow(string filePath)
 {
     if (window != null) window.Close();
     window = (ConsoleEditorWindow)GetWindow(
         typeof(ConsoleEditorWindow),
         true,
         "Console Log View",
         true
     );
     window.minSize = new Vector2(1024, 768);
     window.currentFilePath = filePath;
     window.Init();
     window.Show();
 }