DragOneDirection

Modifies the drag event to work in only one direction. Used with nested ScrollRects.

Options

  • MinDistance float

    Minimal drag distance to determine drag direction.

  • DragButton PointerEventData.InputButton

    The button that should be pressed to process the drag event.