Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Slyfox on October 17, 2013, 05:47:00 AM

Title: On Drag Over
Post by: Slyfox on October 17, 2013, 05:47:00 AM
Hi, I would like to be able to create an event when dragging over a button.
I tried to add the OnHover event, but it isn't called when dragging.
Without dragging anything the OnHover event does work.

PS: also, something unrelated. On the asset store, I tried to download the version 3.0.2 but when importing it, I see it is still version 3.0.0, is it just me?
Title: Re: On Drag Over
Post by: Slyfox on October 17, 2013, 06:20:08 AM
After searching a bit more, I found that making sticky press = false in the UI camera allow the OnPress to still react, so I can do what I need in the OnPress event which now react more like the OnHover when dragging.

Though I think it would be better if the OnHover still responded instead, maybe having a stickyHover option in the camera, would this be possible?
Title: Re: On Drag Over
Post by: ArenMook on October 18, 2013, 06:39:24 PM
NGUI input system is pretty much set in stone by this point. Unity's upcoming UI system (and the event system that comes with it) handles this better.
Title: Re: On Drag Over
Post by: Slyfox on October 18, 2013, 06:45:30 PM
ok thanks.