Search Unity

Unity UI IPointerClickHandler ignores drag threshold?

Discussion in 'UGUI & TextMesh Pro' started by andyz, Jun 6, 2019.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,276
    I am guessing IPointerClickHandler ignores drag threshold so as long as you press down and release on the same control it will register anyway?

    Thing is I was using to test for clicks on the whole canvas/rect behind a load of controls and so it just fires even if you press and drag right across the screen and release which seems a bit weird.

    Is this the intended functionality? Edit: seems can just check event for 'dragging' at least