Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Jeff3po on July 31, 2014, 01:50:54 PM
-
I'm trying to create a scrollview of elements that can be scrolled by dragging the list vertically. By monitoring the OnDrag, I enable the element's DragDrop component so he can peel off that element to drop it into a nearby Drag Drop Container.
I can make all of those things occur except when I activate the Drag Drop component, the OnDragStart doesn't fire. I guess the system is mid-touch, so the cloning process doesn't occur. The dragged object seems to fill in correctly, because I can drop the item into the container, but there's no visible clone while dragging.
-
OnDragStart happens before OnDrag notifications begin, so that's why you aren't seeing it. You will need to SendMessage("OnDragStart") yourself if you're doing this logic manually.