Exemplo n.º 1
0
        void OnNewGraphButton()
        {
            var bb = ConsoleWindowBridge.FindBoundGraphViewToolWindow <GraphViewBlackboardWindow>(m_GraphView);

            if (bb != null)
            {
                bb.Close();
            }

            EditorWindow.GetWindow <VseWindow>().UnloadGraph();
        }
Exemplo n.º 2
0
        void ShowGraphViewToolWindow <T>() where T : GraphViewToolWindow
        {
            var existingToolWindow = ConsoleWindowBridge.FindBoundGraphViewToolWindow <T>(m_GraphView);

            if (existingToolWindow == null)
            {
                ConsoleWindowBridge.SpawnAttachedViewToolWindow <T>(m_GraphView.window, m_GraphView);
            }
            else
            {
                existingToolWindow.Focus();
            }
        }
Exemplo n.º 3
0
 public static void RemoveLogEntries()
 {
     ConsoleWindowBridge.RemoveLogEntries();
 }
Exemplo n.º 4
0
 public static void LogSticky(LogType logType, LogOption logOptions, string message, string file, int instanceId)
 {
     ConsoleWindowBridge.LogSticky(message, file, logType, logOptions, instanceId);
 }