protected override EBTStatus update(Agent pAgent, EBTStatus childStatus) { Debug.Check(this.m_activeChildIndex < this.m_children.Count); Selector node = this.m_node as Selector; return(node.SelectorUpdate(pAgent, childStatus, ref this.m_activeChildIndex, this.m_children)); }
protected override EBTStatus update(Agent pAgent, EBTStatus childStatus) { Debug.Check(this.m_node is Selector); Selector node = this.m_node as Selector; EBTStatus s = node.SelectorUpdate(pAgent, childStatus, ref this.m_activeChildIndex, this.m_children); return s; }