Search Unity

Unity UI Scroll View: Is there a way to discriminate and accept only certain PointerEvents?

Discussion in 'UGUI & TextMesh Pro' started by jhow77, Apr 25, 2017.

  1. jhow77

    jhow77

    Joined:
    Jan 10, 2017
    Posts:
    19
    I'd like to do something along the lines of:

    if scrollview.isScrolling then
    • ignore any other PointerEvents on scrollview (from onPointerDown and onPointerUp)

    • don't let any other pointer/touch/mouse affect the scroll of the scrollview.
    Is there a way of doing this?