Welcome,
Guest
. Please
login
or
register
.
January 23, 2025, 01:08:06 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
OnDragDropRelease: Return to original position?
« previous
next »
Print
Pages: [
1
]
Author
Topic: OnDragDropRelease: Return to original position? (Read 1610 times)
Ace
Newbie
Thank You
-Given: 4
-Receive: 0
Posts: 24
OnDragDropRelease: Return to original position?
«
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?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: OnDragDropRelease: Return to original position?
«
Reply #1 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.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
OnDragDropRelease: Return to original position?