Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
Include |
#include "Delegates/DelegateSignatureImpl.inl" |
template<typename UObjectTemplate, typename... VarTypes>
FDelegateHandle AddUFunction
(
UObjectTemplate * InUserObject,
const FName & InFunctionName,
VarTypes... Vars
)
Adds a UFunction-based member function delegate.
UFunction delegates keep a weak reference to your object.
Parameter |
Description |
---|---|
InUserObject |
User object to bind to |
InFunctionName |
Class method function address |