Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/FBehaviorTreeInstance
Description
Iterate on parallel tasks and call ExecFunc on each of them. Supports removing the iterated task while processed
| Name | ExecuteOnEachParallelTask |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeTypes.h |
| Include Path | #include "BehaviorTree/BehaviorTreeTypes.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/BehaviorTree/BehaviorTreeTypes.cpp |
void ExecuteOnEachParallelTask
(
TFunctionRef < void &, const int32)> ExecFunc
)