Пример #1
0
 /// <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));
 }
Пример #2
0
 /// <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));
 }