TEnhancedInputUnifiedDelegate

Unified storage for both native and dynamic delegates with any signature

Choose your operating system:

Windows

macOS

Linux

References

Module

EnhancedInput

Header

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/EnhancedInputComponent.h

Include

#include "EnhancedInputComponent.h"

Syntax

template<typename TSignature>
struct TEnhancedInputUnifiedDelegate

Remarks

Unified storage for both native and dynamic delegates with any signature

Functions

Name Description

Public function

void

 

BindDelegate

(
    UserClass* Object,
    typename TSig::template TMethodPtr<...
)

Binds a native delegate, hidden for script delegates

Public function

void

 

BindDelegate

(
    UObject* Object,
    const FName FuncName
)

Binds a script delegate on an arbitrary UObject, hidden for native delegates

Public function Const

void

 

Execute

(
    TArgs... Args
)

Public function Const

bool

 

IsBound()

Public function Const

bool

 

IsBoundToObject

(
    void const* Object
)

Public function

TSig &

 

MakeDelegate()

Public function

void

 

Unbind()