(FName InAxisName, UObject InObject, Action<float> InAction)
| 257 | } |
| 258 | |
| 259 | public void RemoveAxis(FName InAxisName, UObject InObject, Action<float> InAction) |
| 260 | { |
| 261 | var InputAxisDelegateBinding = UInputComponentImplementation |
| 262 | .UInputComponent_GetDynamicBindingObjectImplementation<UInputAxisDelegateBinding>( |
| 263 | InObject.GetClass().GarbageCollectionHandle, |
| 264 | UInputAxisDelegateBinding.StaticClass().GarbageCollectionHandle); |
| 265 | |
| 266 | if (InputAxisDelegateBinding != null) |
| 267 | { |
| 268 | foreach (var InputAxisDelegate in InputAxisDelegateBinding.InputAxisDelegateBindings) |
| 269 | { |
| 270 | if (InputAxisDelegate.InputAxisName == InAxisName && |
| 271 | InputAxisDelegate.FunctionNameToBind.ToString() == InAction.Method.Name) |
| 272 | { |
| 273 | InputAxisDelegateBinding.InputAxisDelegateBindings.Remove(InputAxisDelegate); |
| 274 | |
| 275 | break; |
| 276 | } |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | InObject.GetClass().RemoveFunction(InAction.Method.Name); |
| 281 | } |
| 282 | |
| 283 | public void RemoveAxisKey(FKey InKey, UObject InObject, Action<float> InAction) |
| 284 | { |
nothing calls this directly
no test coverage detected