UGameplayAbility::GetGameplayTasksComponent

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

Windows
MacOS
Linux

Override Hierarchy

IGameplayTaskOwnerInterface::GetGameplayTasksComponent()

UGameplayAbility::GetGameplayTasksComponent()

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h

Include

#include "Abilities/GameplayAbility.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/GameplayAbility.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!

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss