BehaviorTree.ParallelNode.EvaluateInternal C# (CSharp) Method

EvaluateInternal() protected method

protected EvaluateInternal ( object rInput ) : bool
rInput object
return bool
        protected override bool EvaluateInternal(object rInput)
        {
            for (int i = 0; i < mChildrenCount; i++ )
            {
                var rNode = mChildren[i];
                if (mChildrenStatus[i] == NodeRunningStatus.Executing)
                {
                    if(!rNode.Evaluate(rInput))
                    {
                        return false;
                    }
                }
            }
            return true;
        }