Esempio n. 1
0
 public static void SetupLogStickyCallback()
 {
     ConsoleWindowBridge.SetEntryDoubleClickedDelegate((file, entryInstanceId) =>
     {
         VseWindow window = VseWindow.OpenVseAssetInWindow(file);
         window.Store?.Dispatch(new PanToNodeAction(entryInstanceId));
     });
 }
Esempio 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();
            }
        }
        void OnNewGraphButton()
        {
            var minimap = ConsoleWindowBridge.FindBoundGraphViewToolWindow <GraphViewMinimapWindow>(m_GraphView);

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

            var bb = ConsoleWindowBridge.FindBoundGraphViewToolWindow <GraphViewBlackboardWindow>(m_GraphView);

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

            EditorWindow.GetWindow <VseWindow>().UnloadGraph();
        }
Esempio n. 4
0
 public static void RemoveLogEntries()
 {
     ConsoleWindowBridge.RemoveLogEntries();
 }
Esempio n. 5
0
 public static void LogSticky(LogType logType, LogOption logOptions, string message, string file, int instanceId)
 {
     ConsoleWindowBridge.LogSticky(message, file, logType, logOptions, instanceId);
 }