Hello, Thanks for providing and supporting NGUI! It is a real time saver plugin! I have a tiny question here.
I have a scroll view with a list of weapon [Square Icon] and user are able to drag the weapon1[Square Icon] to weapon slot [Square Item Slot] ( Using CLONE ), i have no problem with this.
Then i decided to add more stuff to the scrollview/weapon1 , I have now turn it into [Rectangle sized box], and it now has [[Square icon] and some additional info on the right side]
So when user drag from the whole [Rectangle box] i will clone a [Square Icon] prefab , i have no problem with this too.
What I want do now is to center the dragged [Square Icon] into the center of the mouse, because I can start dragging from any point of the [Rectangle box] and the [Square box] appear will some how have an offset from my mouse unless i start dragging from the top left of the [Rectangle box] .
Due to this reason is very hard for me to drop the [Square Icon] into another [Square Item Slot] accurately.
May I know how do i as able to center my [Square icon] position to mouse after its cloned?
1.scrollview
--weapon1[Rectangle box]
--weapon2[Rectangle box]
--weapon3[Rectangle box]
2.user try to drag from rectangle box, cloned a [square box] prefab
3.user drop the [square box] prefab into
-weapon slot[Square Item Slot]
Thanks for your time , much appreciated.
Stev