Hello!
I am trying to implement a simple left/right directional pad on a mobile device. I have two buttons, and currently when I press the left button and "slide" my thumb to the right button, the left button stays in the "Pressed" state while the right button does not register anything.
OnHover events do not get generated on touch devices.
OnPress(true) is not sent when sliding a touch over a button. Only if the touch starts on the button.
OnPress(false) is not send when sliding a touch off a button. Only when the touch ends anywhere on the screen.
Is there some way I can tell if a touch slides over a button and then slides off? I don't see anything I can use at
http://www.tasharen.com/?page_id=160 .
Should I use Input.touches[index].position and RayCast from the camera myself thus completely bypassing NGUI for this case?
- Garth Smith