public static void DirectURLConnect(string url)
 {
     ConsoleWindow.ShowConsoleWindow(true);
     AttachProfilerUI.ms_NotificationMessage = new GUIContent("Connecting to player...(this can take a while)");
     ProfilerDriver.DirectURLConnect(url);
     AttachProfilerUI.ms_NotificationMessage = null;
 }
 public static void DirectIPConnect(string ip)
 {
     ConsoleWindow.ShowConsoleWindow(true);
     AttachProfilerUI.ms_NotificationMessage = EditorGUIUtility.TrTextContent("Connecting to player...(this can take a while)", null, null);
     ProfilerDriver.DirectIPConnect(ip);
     AttachProfilerUI.ms_NotificationMessage = null;
 }
Exemple #3
0
 public static void DirectURLConnect(string url)
 {
     // Profiler.DirectURLConnect is a blocking call, so a notification message and the console are used to show progress
     ConsoleWindow.ShowConsoleWindow(true);
     ms_NotificationMessage = EditorGUIUtility.TrTextContent("Connecting to player...(this can take a while)");
     ProfilerDriver.DirectURLConnect(url);
     ms_NotificationMessage = null;
 }
 private static void ShowConsoleRow(int row)
 {
     ConsoleWindow.ShowConsoleWindow(false);
     if (ConsoleWindow.ms_ConsoleWindow)
     {
         ConsoleWindow.ms_ConsoleWindow.m_ListView.row = row;
         ConsoleWindow.ms_ConsoleWindow.m_ListView.selectionChanged = true;
         ConsoleWindow.ms_ConsoleWindow.Repaint();
     }
 }
 private static void ShowConsoleRow(int row)
 {
     ConsoleWindow.ShowConsoleWindow(false);
     if (!(bool)((UnityEngine.Object)ConsoleWindow.ms_ConsoleWindow))
     {
         return;
     }
     ConsoleWindow.ms_ConsoleWindow.m_ListView.row = row;
     ConsoleWindow.ms_ConsoleWindow.m_ListView.selectionChanged = true;
     ConsoleWindow.ms_ConsoleWindow.Repaint();
 }
 private static void ShowConsoleWindowImmediate()
 {
     ConsoleWindow.ShowConsoleWindow(true);
 }