public override ResultType Execute(BInput _input) { if (_currentIndex >= listChilds.Count) { GameInput.DebugLog("没有找到匹配这个条件的"); return(ResultType.Fail); } Node _node = listChilds[_currentIndex]; if (_node.Evaluate(_input)) { return(result = _node.RunNode(_input)); } else { _currentIndex++; Execute(_input); } result = ResultType.Running; return(result); }