Navigation
API > API/Plugins > API/Plugins/GameplayStateTreeModule > API/Plugins/GameplayStateTreeModule/Components > API/Plugins/GameplayStateTreeModule/Components/UStateTreeComponent
- IGameplayTaskOwnerInterface::GetGameplayTasksComponent()
- UStateTreeComponent::GetGameplayTasksComponent()
References
| Module | GameplayStateTreeModule |
| Header | /Engine/Plugins/Runtime/GameplayStateTree/Source/GameplayStateTreeModule/Public/Components/StateTreeComponent.h |
| Include | #include "Components/StateTreeComponent.h" |
| Source | /Engine/Plugins/Runtime/GameplayStateTree/Source/GameplayStateTreeModule/Private/Components/StateTreeComponent.cpp |
virtual UGameplayTasksComponent * GetGameplayTasksComponent
(
const UGameplayTask & Task
) const
Remarks
Finds tasks component for given GameplayTask, Task.GetGameplayTasksComponent() may not be initialized at this point!