Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Bovine on November 16, 2012, 02:09:09 PM

Title: Hover while dragging?
Post by: Bovine on November 16, 2012, 02:09:09 PM
Hi There

I am using hoveredObject while dragging to detect the button currently beneath the hover target so I can manually highlight the button while dragging things to it. It appears that hoveredObject is never set on the iPad though.

Is there a way I can do this that will work across platforms?

Thanks
Ian H
Title: Re: Hover while dragging?
Post by: ArenMook on November 16, 2012, 05:36:02 PM
UICamera.currentTouch.current is what you're looking for.