Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: turkeypotpie on June 26, 2014, 02:20:23 PM
-
My game has a feature where I move a button's position across the screen. Sometimes the button will slide under the user's finger, which is already down on the screen before the movement. I'd like a way of detecting whether the button is under the user's finger.
Normally you can do the detection with an event, but the event only fires when the finger is depressed, and not when a button is moved under an already depressed finger.
-
You get OnDragOver / OnDragOut notifications from dragging. Have you looked into those?
-
That did the trick. Thank you :)