I have multiple areas in my mobile UI that will require a swipe to go to the next page of stuff. For this reason, I need to be able to know which area was touched when the swipe happened, so only that area changes pages. I am having a hard time understanding how to detect this information with NGUI.
For each swipable area, I have created a box collider.
I've tried looking at UICamera.currentTouch, but I can't figure out how or when that is populated with data I need. I don't know if NGUI has any kind of built-in support for drag events on particular objects, without the actual dragging of the object (the collider shouldn't move - it only needs to detect the touch, and the distance moved while touching).
On other non-NGUI projects that I've done this kind of thing, it was easy to store which object was touched, and the mouse location of the original touch, and compare it to the current mouse location to get the drag distance, and have certain things react only if certain objects were initially touched.
Thanks!