Swipe

Provide swipe events.

Options

  • Unscaled Time bool

    Use unscaled time.

  • Max Time float

    If dragged longer than the specified time then it is not swipe event.

  • Required Distance float

    Minimum distance to be swiped.

  • Min Distance float

    Minimum distance at X or Y axis to be swiped at those axes.

Events

  • OnSwipe UnityEvent<Swipe.Direction>