/* * if (e.alt) * { * Dictionary<Node, int> d = new Dictionary<Node, int>(); * d[curEditorState.selectedNode] = 1; * * MoveChildren(ref d, curEditorState.selectedNode, delta); * } */ static void MoveChildren(ref Dictionary <Node, int> _dic, Node _n, Vector2 _delta) { foreach (var input in _n.Inputs) { Node cn = input.connection.body; if (!_dic.ContainsKey(cn)) { cn.rect.position += _delta; NodeEditorCallbacks.IssueOnMoveNode(cn); MoveChildren(ref _dic, cn, _delta); _dic[cn] = 1; } } }
//For Resolving the Type Mismatch Issue private void IssueEditorCallBacks() { DataHolderForOption option = _options.Last(); NodeEditorCallbacks.IssueOnAddNodeKnob(Outputs[option.NodeOutputIndex]); }
//For Resolving the Type Mismatch Issue private void IssueEditorCallBacks() { NodeEditorCallbacks.IssueOnAddConnectionPort(dynamicConnectionPorts[_options.Count - 1]); }
protected void IssueEditorCallBacks() { Transition t = _allTransition.Last(); NodeEditorCallbacks.IssueOnAddNodeKnob(Outputs[t.NodeOutputIndex]); }