Hello,
I'm having difficulties with the UI event system. Mainly, when I press down on an object with a UIItem component, both the OnDown and OnHoverOut events are sent, even when I do not move the cursor after pressing down on the object. I can see the boundaries of the box collider on the object, and it is definitely a large enough area to keep the cursor in.
Also, does OnRelease return the UIItem that was originally sent to OnDown, or does it return the UIItem that is currently under the cursor? It seems it's the former. I am trying to create a drag-n-drop effect, but there seems to be no way of getting the current UI object that's under the curse when you release the mouse button (even OnHover stops sending events if the mouse button in pressed down).
Thanks in advance for your help!