Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Enzign on April 16, 2013, 01:57:30 AM

Title: MomentumAndSpring Drag Effect when not using clipping.
Post by: Enzign on April 16, 2013, 01:57:30 AM
Hi,

Is it possible to get the MomentumAndSpring Drag Effect when not using clipping without rewriting a bunch of stuff?
Title: Re: MomentumAndSpring Drag Effect when not using clipping.
Post by: ArenMook on April 16, 2013, 02:28:19 PM
You mean like the draggable window example? That's achieved using the UIDragObject script.
Title: Re: MomentumAndSpring Drag Effect when not using clipping.
Post by: Enzign on April 22, 2013, 02:59:37 AM
Yes, i'm trying to use that script, but i can't get it to restrict the area of scrolling. It makes no different if i check the restrict within panel checkbox.
Title: Re: MomentumAndSpring Drag Effect when not using clipping.
Post by: ArenMook on April 22, 2013, 01:58:24 PM
If you need to restrict it by some custom bounds, then you need to write custom logic.