Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Ace on August 04, 2014, 09:59:45 PM

Title: OnDragDropRelease: Return to original position?
Post by: Ace on August 04, 2014, 09:59:45 PM
I can hard code a return position value for everything but Im curious if theres an NGUI way of putting a sprite back where it originated from if it doesnt get re-parented?
Title: Re: OnDragDropRelease: Return to original position?
Post by: ArenMook on August 05, 2014, 02:04:20 PM
I don't remember exactly, but I don't think so. You need to record the position when the drag operation begins then restore it when it ends.