public override IEnumerator run() { isFinished = false; setResult(_decision.Invoke(_bot)); yield break; }
protected virtual void evaluateChildren() { chosenBranch = decision.Invoke(AI) ? children[0] : children[1]; }