public abstract GetNode ( int i ) : |
||
i | int | Index of child node to get. |
Результат |
private bool IsConnected(AFlowNode from, AFlowNode to) { for (int i = 0; i < to.NodeCount; ++i) { var n = to.GetNode(i) as AFlowNode; if (n != null) { if (from == n || IsConnected(from, n)) { return(true); } } } return(false); }
private bool IsConnected(AFlowNode from, AFlowNode to) { for (int i = 0; i < to.NodeCount; ++i) { var n = to.GetNode(i) as AFlowNode; if (n != null) { if (from == n || IsConnected(from, n)) { return true; } } } return false; }