Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Grand_A on October 15, 2012, 04:38:17 AM

Title: Circular UIDrag
Post by: Grand_A on October 15, 2012, 04:38:17 AM
Hi Aren,

I've been using a lot of your UIDrag scripts. It looks cool but I need additional feature, which is the circular looping.
So after the most left one dissapears from the screen, it can show up again at the most right, looping the objects in circular way.
Can you help me to do that?

Thank you for the help.
Title: Re: Circular UIDrag
Post by: ArenMook on October 15, 2012, 06:03:59 AM
You need to write your own logic for repositioning objects then. If localposition.x < -#, localposition.x = #, or something similar.