UAbilitySystemComponent::CreateNewInstanceOfAbility

Creates a new instance of an ability, storing it in the spec

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "AbilitySystemComponent.h"

Source

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

Syntax

virtual UGameplayAbility * CreateNewInstanceOfAbility
(
    FGameplayAbilitySpec & Spec,
    const UGameplayAbility * Ability
)

Remarks

Creates a new instance of an ability, storing it in the spec

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