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