FGameplayEffectContext::AddSourceObject

Sets the object this effect was created from.

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffectTypes.h"

Syntax

virtual void AddSourceObject
(
    const UObject * NewSourceObject
)

Remarks

Sets the object this effect was created from.