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

UGameplayTasksComponent::GetGameplayTasksComponent()

References

Module

GameplayTasks

Header

/Engine/Source/Runtime/GameplayTasks/Classes/GameplayTasksComponent.h

Include

#include "GameplayTasksComponent.h"

Syntax

virtual UGameplayTasksComponent * GetGameplayTasksComponent
(
    const UGameplayTask & Task
) const

Remarks

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