public EdgeConnector(int index, int position, Rect rect, bool isHelper, NodeEditorBase node) { this.index = index; this.position = position; this.rect = rect; this.isHelperConnector = isHelper; this.node = node; }
private void Update(DialogueEditorWindow editor) { _editor = editor; _nodeEditor = editor.selectedNodeEditors.FirstOrDefault(); _edge = editor.selectedEdges.FirstOrDefault(); _edgeDrawers.Clear(); if (_edge != null) { _edgeDrawers = ReflectionDrawerUtility.BuildEditorHierarchy(_edge.GetType(), _edge).ToList(); } }