UBTNode::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()

UBTNode::GetGameplayTasksComponent()

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BTNode.h

Include

#include "BehaviorTree/BTNode.h"

Source

/Engine/Source/Runtime/AIModule/Private/BehaviorTree/BTNode.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!