I was searching through the forums how to use UIDragObject on 3d objects but no luck. I managed to use UIDragObject
on widgets just by placing script on the widget with collider and setting its target. It does not want to play like that when dropping on simple cube. what i need to check? layers,event receiver mask,clip raycasts? i tried all combination that i could think of and what made the most sense but i can get it to work. I put collider on the object, UIDragObject and set its target.
i made a simple script with only function like this
void OnDrag()
{
Debug.Log("Dragging");
}
so to let me know when it detected the dragging, but nothing happens
what i am doing wrong? thanks!