/// <summary> /// Helper function for creating two finger gestures when a touch begins. /// </summary> /// <param name="createGestureFunction">Function to be executed to create the gesture.</param> protected void TryCreateTwoFingerGestureOnTouchBegan( Func <InputSystem.EnhancedTouch.Touch, InputSystem.EnhancedTouch.Touch, T> createGestureFunction) { TryCreateTwoFingerGestureOnTouchBegan(TouchConverterClosureHelper.GetFunc(createGestureFunction)); }
/// <summary> /// Helper function for creating two finger gestures when a touch begins. /// </summary> /// <param name="createGestureFunction">Function to be executed to create the gesture.</param> protected void TryCreateTwoFingerGestureOnTouchBegan( Func <Touch, Touch, T> createGestureFunction) { TryCreateTwoFingerGestureOnTouchBegan(TouchConverterClosureHelper.GetFunc(createGestureFunction)); }