Beispiel #1
0
 public static void DrawCanvas(Rect viewRect, GUISkin skin)
 {
     if (curNodeGraph == null)
     {
         return;
     }
     curNodeEditorState.CurGraphRect = viewRect;
     curNodeGraph.Draw();
     DrawLinkSelecting();
     NodeInputSystem.DynamicInvoke(CurNodeInputInfo);
 }
Beispiel #2
0
        public static void MapInit()
        {
            IsInit = false;
            NodeStack.FetchCube();
            NodeInputSystem.Fetch();
            ConnectionType.Fetch();
#if UNITY_EDITOR
#endif
            IsInit = true;
            if (TrigInit != null)
            {
                TrigInit();
            }
        }
Beispiel #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();
            }
        }