Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/BehaviorTree > API/Runtime/AIModule/BehaviorTree/UBehaviorTreeComponent > API/Runtime/AIModule/BehaviorTree/UBehaviorTreeComponent/ForEachChildTask
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeComponent.h |
| Include | #include "BehaviorTree/BehaviorTreeComponent.h" |
void ForEachChildTask
(
TFunctionRef < void &, const FBehaviorTreeInstance &, int32 InstanceIndex)> Functor
)
Remarks
Will call the given functor on each task node in the current instance stacks.