public AddConnection ( |
||
connection | ||
Résultat | void |
public virtual NodeConnection ConnectNodes(BaseNode from, BaseNode to) { if (from == null || to == null) { return(null); } NodeConnection c = new NodeConnection(from, to); from.AddConnection(c); to.AddConnection(c); return(c); }
public virtual NodeConnection ConnectNodes(BaseNode from, BaseNode to) { if (from == null || to == null) return null; NodeConnection c = new NodeConnection(from, to); from.AddConnection(c); to.AddConnection(c); return c; }