MCPcopy Create free account
hub / github.com/crazytuzi/UnrealCSharp / RemoveTouch

Method RemoveTouch

Script/UE/CoreUObject/InputComponent.cs:347–369  ·  view source on GitHub ↗
(EInputEvent InKeyEvent, UObject InObject, Action<ETouchIndex, FVector> InAction)

Source from the content-addressed store, hash-verified

345 }
346
347 public void RemoveTouch(EInputEvent InKeyEvent, UObject InObject, Action<ETouchIndex, FVector> InAction)
348 {
349 var InputTouchDelegateBinding = UInputComponentImplementation
350 .UInputComponent_GetDynamicBindingObjectImplementation<UInputTouchDelegateBinding>(
351 InObject.GetClass().GarbageCollectionHandle,
352 UInputTouchDelegateBinding.StaticClass().GarbageCollectionHandle);
353
354 if (InputTouchDelegateBinding != null)
355 {
356 foreach (var InputTouchDelegate in InputTouchDelegateBinding.InputTouchDelegateBindings)
357 {
358 if (InputTouchDelegate.InputKeyEvent == InKeyEvent &&
359 InputTouchDelegate.FunctionNameToBind.ToString() == InAction.Method.Name)
360 {
361 InputTouchDelegateBinding.InputTouchDelegateBindings.Remove(InputTouchDelegate);
362
363 break;
364 }
365 }
366 }
367
368 InObject.GetClass().RemoveFunction(InAction.Method.Name);
369 }
370
371 public void RemoveVectorAxis(FKey InKey, UObject InObject, Action<FVector> InAction)
372 {

Callers

nothing calls this directly

Calls 5

StaticClassMethod · 0.80
RemoveFunctionMethod · 0.80
GetClassMethod · 0.45
ToStringMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected