Choose your operating system:
Windows
macOS
Linux
| UBTDecorator::OnNodeActivation()
|
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_Loop.h |
Include |
#include "BehaviorTree/Decorators/BTDecorator_Loop.h" |
Source |
/Engine/Source/Runtime/AIModule/Private/BehaviorTree/Decorators/BTDecorator_Loop.cpp |
virtual void OnNodeActivation
(
FBehaviorTreeSearchData & SearchData
)
Called when underlying node is activated this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyActivation must be set to true for this function to be called Calling INIT_DECORATOR_NODE_NOTIFY_FLAGS in the constructor of the decorator will set this flag automatically