Exemplo n.º 1
0
        static void Init()
        {
            // build the log viewer window and set title, also init logwatch to null for first run
            LogWatcher window = (LogWatcher)EditorWindow.GetWindow(typeof(LogWatcher));

            window.titleContent.text = "Log Watcher";
        }
Exemplo n.º 2
0
        static void Init()
        {
            // build the log viewer window and set title
            LogViewer window = (LogViewer)EditorWindow.GetWindow(typeof(LogViewer));

            window.titleContent.text = "Log Viewer";
            logWatch = null;
        }
Exemplo n.º 3
0
 public void ShowWatches(bool show)
 {
     if (show)
     {
         logWatch = (LogWatcher)EditorWindow.GetWindow(typeof(LogWatcher));
         logWatch.titleContent.text = "Log Watches";
     }
     else
     {
         logWatch.Close();
         logWatch = null;
     }
 }