Hugula.UGUIExtend.CEventReceive.OnDrag C# (CSharp) Method

OnDrag() public method

public OnDrag ( BaseEventData eventData ) : void
eventData UnityEngine.EventSystems.BaseEventData
return void

        public void OnCustomerEvent(MonoBehaviour arg)
        {
            var g = EventSystem.current.currentSelectedGameObject;
            UGUIEvent.onCustomerHandle(g, arg); //Debug.Log("you are click "+g);
        }

Usage Example

Beispiel #1
0
 static public int OnDrag(IntPtr l)
 {
     try {
         Hugula.UGUIExtend.CEventReceive        self = (Hugula.UGUIExtend.CEventReceive)checkSelf(l);
         UnityEngine.EventSystems.BaseEventData a1;
         checkType(l, 2, out a1);
         self.OnDrag(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }