Exemple #1
0
 public void OnDragHanlder(DragEventData eventData)
 {
     SetLocalPosition(X + eventData.Delta.x, Y + eventData.Delta.y);
     eventData.MarkUse(this, true);
 }
Exemple #2
0
        internal virtual void OnDragLeave(DragEventData eventData)
        {
            if (BreakPass(eventData))
            {
                return;
            }

            ExecuteEvents.Execute(this, eventData, ExecuteEvents.DragLeaveHandler);

            Parent.OnDragLeave(eventData);
        }