- Home /
Change pointerDrag target during a drag
I am trying to change which GameObject is receiving drag messages from my EventSystem's StandaloneTouchInputModule.
E.g., while I'm dragging one object, a script reassigns who is receiving the drag messages so that I am visually dragging a different object during the same gesture.
I saw EventSystem.SetSelectedGameObject(), but that doesn't seem to affect the "pointerDrag" variable, which appears to be the target of my OnDrag messages.
Answer by JamesJLinden · May 22, 2015 at 03:34 PM
Answer was found here: http://answers.unity3d.com/questions/938029/recreating-iphone-home-screen-in-unity.html
Answer by wfagan20 · May 22, 2015 at 12:09 PM
I too would like to know this
Solution can be found here wfagan20: http://answers.unity3d.com/questions/938029/recreating-iphone-home-screen-in-unity.html