Exemplo n.º 1
0
        public static void ShowGraphViewWindowWithTools <T>() where T : GraphViewEditorWindow
        {
            var windows   = GraphViewStaticBridge.ShowGraphViewWindowWithTools(typeof(GraphViewBlackboardWindow), typeof(T));
            var graphView = (windows[0] as T)?.graphViews.FirstOrDefault();

            if (graphView != null)
            {
                (windows[1] as GraphViewBlackboardWindow)?.SelectGraphViewFromWindow((windows[0] as T), graphView);
            }
        }