Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemGlobals.h |
Include |
#include "AbilitySystemGlobals.h" |
Source |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemGlobals.cpp |
static UAbilitySystemComponent * GetAbilitySystemComponentFromActor
(
const AActor * Actor,
bool LookForComponent
)
Searches the passed in actor for an ability system component, will use the AbilitySystemInterface
Helping function to avoid having to manually cast