Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: superme2012 on November 21, 2014, 02:08:48 PM

Title: Grid with row limit, drag and drop?
Post by: superme2012 on November 21, 2014, 02:08:48 PM
Can the grid allow drag and drop with rows greater than 0? Or should I build my own 2D array of objects (grid).

Just a check before incase it can, would like to use the system as is.
Title: Re: Grid with row limit, drag and drop?
Post by: ArenMook on November 21, 2014, 09:06:34 PM
If you need to put a limit on the number of items, you should do that in your custom DragDropItem-derived script. Any and all validation should go there.
Title: Re: Grid with row limit, drag and drop?
Post by: superme2012 on November 22, 2014, 02:10:47 AM
Thanks for the fast response, mook.

After some thinking without the influence of beer I realised there is a better way.
Just needed a grid and the drop container.