Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: redofpaw on April 22, 2014, 11:40:52 AM

Title: Drag and Drop problem...
Post by: redofpaw on April 22, 2014, 11:40:52 AM
Hey all,

I've got a drag and drop set up on a grid, taken from one of the example scenes.

The original would scroll when you dragged up or down on the buttons, and detach the button to reorder then when you dragged sideways.

However I only have five and have stopped them scrolling up and down. The problem is that I can still only drag to detach from the rest by going sideways.

Is there a way to drag and detach up and down as well?

Do I need to post more details to explain it better?
Title: Re: Drag and Drop problem...
Post by: ArenMook on April 23, 2014, 05:19:31 AM
Drag & Drop item script has a "Restriction" setting. It's "Horizontal" in that example. Just change it.
Title: Re: Drag and Drop problem...
Post by: redofpaw on April 23, 2014, 06:38:38 AM
Yup! That did the trick. Thanks for that. It was really obvious as well, so I don't quite know how I managed to miss it.