Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Sahkan on March 03, 2016, 01:50:02 AM
-
I want to have an object created when I'm start dragging from a certain object.
When the object created it should be dragged instead of the object that was initially clicked.
How can I make it happen?
-
Set UIDragDropItem.cloneOnDrag to true. You can also overwrite UIDragDropItem's StartDragging() function in a derived class and specify exactly what gets created and when. Examine UIDragDropItem.StartDragging for more details.