Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: apple741 on May 28, 2014, 07:50:05 AM

Title: Going through other objects
Post by: apple741 on May 28, 2014, 07:50:05 AM
Hi,

I have a scene where there are a few objects the user can drag, the problem is sometimes the object being dragged goes behind other objects. Is there a way to always keep the current drag object in front of all other objects?

Thanks!
Title: Re: Going through other objects
Post by: ArenMook on May 28, 2014, 07:51:55 AM
Make use of UIDragDropRoot. Watch the NGUI tutorial video that explains this: http://youtu.be/UK3aMHRfgcw?t=6m29s
Title: Re: Going through other objects
Post by: apple741 on May 28, 2014, 08:22:34 AM
Thanks very much Aren! I really appreciate the support :)

Have a great day!