So I put the following code on a widget - dragging functionality works fine, all 3 get called at the appropriate times. However if I just click on the widget and release without moving the mouse “OnDragEnd” will get called - even though OnBeginDrag never was. This seems broken to me, reported with the bug tool.
If for some reason it isn’t a bug, I’d love to hear the rationale
public void OnBeginDrag(PointerEventData eventData){
Debug.Log(“Begin Drag”);
}
public void OnDrag(PointerEventData data){
Debug.Log(“on Drag”);
}
public void OnEndDrag(PointerEventData eventData)
{
Debug.Log(“End Drag”);
}