OnDrag() public method

public OnDrag ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
return void
Esempio n. 1
0
 //IDragHandler
 public void OnDrag(PointerEventData eventData)
 {
     if (scrollOther)
     {
         ParentScrollRect.OnDrag(eventData);
         scriptParent.OnDrag(eventData);
     }
 }
Esempio n. 2
0
 static public int OnDrag(IntPtr l)
 {
     try {
         UnityEngine.UI.Extensions.HorizontalScrollSnap self = (UnityEngine.UI.Extensions.HorizontalScrollSnap)checkSelf(l);
         UnityEngine.EventSystems.PointerEventData      a1;
         checkType(l, 2, out a1);
         self.OnDrag(a1);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }