(FInputChord InInputChord, EInputEvent InKeyEvent, UObject InObject, Action<FKey> InAction)
| 305 | } |
| 306 | |
| 307 | public void RemoveKey(FInputChord InInputChord, EInputEvent InKeyEvent, UObject InObject, Action<FKey> InAction) |
| 308 | { |
| 309 | var InputKeyDelegateBinding = UInputComponentImplementation |
| 310 | .UInputComponent_GetDynamicBindingObjectImplementation<UInputKeyDelegateBinding>( |
| 311 | InObject.GetClass().GarbageCollectionHandle, |
| 312 | UInputKeyDelegateBinding.StaticClass().GarbageCollectionHandle); |
| 313 | |
| 314 | if (InputKeyDelegateBinding != null) |
| 315 | { |
| 316 | foreach (var InputKeyDelegate in InputKeyDelegateBinding.InputKeyDelegateBindings) |
| 317 | { |
| 318 | if (InputKeyDelegate.InputChord == InInputChord && |
| 319 | InputKeyDelegate.InputKeyEvent == InKeyEvent && |
| 320 | InputKeyDelegate.FunctionNameToBind.ToString() == InAction.Method.Name) |
| 321 | { |
| 322 | InputKeyDelegateBinding.InputKeyDelegateBindings.Remove(InputKeyDelegate); |
| 323 | |
| 324 | break; |
| 325 | } |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | InObject.GetClass().RemoveFunction(InAction.Method.Name); |
| 330 | } |
| 331 | |
| 332 | public void RemoveKey(FKey InKey, EInputEvent InKeyEvent, UObject InObject, Action<FKey> InAction) |
| 333 | { |
nothing calls this directly
no test coverage detected