Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayAbilitySpec.h |
Include |
#include "GameplayAbilitySpec.h" |
enum EGameplayEffectGrantedAbilityRemovePolicy
{
CancelAbilityImmediately,
RemoveAbilityOnEnd,
DoNothing,
}
Name |
Description |
---|---|
CancelAbilityImmediately |
Active abilities are immediately canceled and the ability is removed. |
RemoveAbilityOnEnd |
Active abilities are allowed to finish, and then removed. |
DoNothing |
Granted abilities are left lone when the granting GameplayEffect is removed. |
Describes what happens when a GameplayEffect, that is granting an active ability, is removed from its owner.