Exemple #1
0
 public void DisconnectNodes(GraphNode node, ActionGraphEditorNode child)
 {
     node.RemoveConnection(child);
     if (node == Begin)
     {
         Presenter.OnInputDisconnected(child);
     }
     else
     {
         Presenter.OnNodeDisconnected(node as ActionGraphEditorNode, child);
     }
 }
 GenericMenu.MenuFunction CreateRemoveConnectionCallback(GraphNode source, GraphNode.ConnectionInfo toRemove)
 {
     return(() => source.RemoveConnection(toRemove));
 }