OnEndDrag() public method

public OnEndDrag ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
return void
Example #1
0
 //IEndDragHandler
 public void OnEndDrag(PointerEventData eventData)
 {
     if (scrollOther)
     {
         scrollOther           = false;
         _myScrollRect.enabled = true;
         ParentScrollRect.OnEndDrag(eventData);
         ParentScrollSnap.OnEndDrag(eventData);
     }
 }
Example #2
0
 static public int OnEndDrag(IntPtr l)
 {
     try {
         UnityEngine.UI.Extensions.ScrollSnap      self = (UnityEngine.UI.Extensions.ScrollSnap)checkSelf(l);
         UnityEngine.EventSystems.PointerEventData a1;
         checkType(l, 2, out a1);
         self.OnEndDrag(a1);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }