public void BindAction <T1, T2, T3>(string InActionName, InputEvent InEvent, Action <T1, T2, T3> InHandler, T1 _param1, T2 _param2, T3 _param3) { NativeActionWithKeySignature _proxy = new NativeActionWithKeySignature((string InKey) => { InHandler(_param1, _param2, _param3); }); delegateRefs.Add(_proxy); IONativeWrapper.BindAction(this.ID, InActionName, (int)InEvent, _proxy); }
public void BindAction(string InActionName, InputEvent InEvent, Action <Key> InHandler) { NativeActionWithKeySignature _proxy = new NativeActionWithKeySignature((string InKey) => { InHandler(InKey); }); delegateRefs.Add(_proxy); IONativeWrapper.BindAction(this.ID, InActionName, (int)InEvent, _proxy); }