1
NGUI 3 Support / Re: Drag without mouse offset
« on: July 03, 2015, 01:11:10 PM »Actual movement happens in UIDragDropItem.OnDragDropMove by adjusting the localPosition (which is called from UIDragDropItem.OnDrag). If you want it to snap, you will want to look at UIDragDropItem.OnDragStart, overwrite it in your custom Drag & Drop class derived from this one, and set the transform's localPosition to what you need it to be.
Thank you! i was able to code my drag to do the behaviour i was searching.
