FGameplayEffectContext::SetAbility

Sets the ability that was used to spawn this

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectTypes.h

Include

#include "GameplayEffectTypes.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffectTypes.cpp

Syntax

virtual void SetAbility
(
    const UGameplayAbility * InGameplayAbility
)

Remarks

Sets the ability that was used to spawn this