public override void PendingCheck(AICtrl agent) { for (int i = 0; i < childs.Count; i++) { BTNode child = childs [i]; if (child.state == BTNode.State.PENDING) { child.PendingCheck(agent); break; } } }