Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/InputComponent.h |
Include |
#include "Components/InputComponent.h" |
template<class DelegateType, class UserClass, typename... VarTypes>
FInputActionBinding & BindAction
(
const FName ActionName,
const EInputEvent KeyEvent,
UserClass * Object,
typename DelegateType::template TUObjectMethodDelegate< UserClass >::FMethodPtr Func,
VarTypes... Vars
)
Binds a delegate function to an Action defined in the project settings. Returned reference is only guaranteed to be valid until another action is bound.