Пример #1
0
 public static void DrawCanvas(Rect viewRect, GUISkin skin)
 {
     if (curNodeGraph == null)
     {
         return;
     }
     curNodeEditorState.CurGraphRect = viewRect;
     curNodeGraph.Draw();
     DrawLinkSelecting();
     NodeInputSystem.DynamicInvoke(CurNodeInputInfo);
 }
Пример #2
0
        public static void MapInit()
        {
            IsInit = false;
            NodeStack.FetchCube();
            NodeInputSystem.Fetch();
            ConnectionType.Fetch();
#if UNITY_EDITOR
#endif
            IsInit = true;
            if (TrigInit != null)
            {
                TrigInit();
            }
        }
Пример #3
0
        public static void Init()
        {
            IsInit = false;
            EditorDataMgr.Init();
            NodeStack.FetchNode();
            NodeInputSystem.Fetch();
            ConnectionType.Fetch();
#if UNITY_EDITOR
#endif
            IsInit = true;
            if (TrigInit != null)
            {
                TrigInit();
            }
        }