Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/BehaviorTree > API/Runtime/AIModule/BehaviorTree/UBehaviorTreeComponent
- UActorComponent::SetComponentTickEnabled()
- UBehaviorTreeComponent::SetComponentTickEnabled()
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeComponent.h |
| Include | #include "BehaviorTree/BehaviorTreeComponent.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/BehaviorTree/BehaviorTreeComponent.cpp |
virtual void SetComponentTickEnabled
&40;
bool bEnabled
&41;
Remarks
Set this component's tick functions to be enabled or disabled. Only has an effect if the function is registered
Parameters
| Name | Description |
|---|---|
| bEnabled | Whether it should be enabled or not |