BindAction
has this signature:
template<class UserClass>
FEnhancedInputActionEventBinding & BindAction
(
const UInputAction * Action,
ETriggerEvent TriggerEvent,
UserClass * Object,
typename FEnhancedInputActionHandlerSignature::TUObjectMethodDelegate< UserClass >::FMethodPtr Func
)
FEnhancedInputActionEventBinding
is:
struct FEnhancedInputActionEventBinding : public FInputBindingHandle
And FInputBindingHandle has the following method:
uint32 GetHandle() const
What do you mean with “BindAction
does return the handle you need”?
And also, what do I have to store it instead of discarding?
Thanks!