UStateTreeBrainComponent::GetGameplayTasksComponent

Finds tasks component for given GameplayTask, Task.GetGameplayTasksComponent() may not be initialized at this point!

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IGameplayTaskOwnerInterface::GetGameplayTasksComponent()

UStateTreeBrainComponent::GetGameplayTasksComponent()

References

Module

StateTreeModule

Header

/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Components/StateTreeBrainComponent.h

Include

#include "Components/StateTreeBrainComponent.h"

Source

/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/Components/StateTreeBrainComponent.cpp

Syntax

virtual UGameplayTasksComponent * GetGameplayTasksComponent
(
    const UGameplayTask & Task
) const

Remarks

Finds tasks component for given GameplayTask, Task.GetGameplayTasksComponent() may not be initialized at this point!