예제 #1
0
 static public int get_isDrag(IntPtr l)
 {
     try {
         Game.DragScroll self = (Game.DragScroll)checkSelf(l);
         pushValue(l, self.isDrag);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #2
0
 static public int set_isDrag(IntPtr l)
 {
     try {
         Game.DragScroll self = (Game.DragScroll)checkSelf(l);
         System.Boolean  v;
         checkType(l, 2, out v);
         self.isDrag = v;
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #3
0
 static public int registDragStart(IntPtr l)
 {
     try {
         Game.DragScroll  self = (Game.DragScroll)checkSelf(l);
         SLua.LuaFunction a1;
         checkType(l, 2, out a1);
         self.registDragStart(a1);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #4
0
 static public int OnEndDrag(IntPtr l)
 {
     try {
         Game.DragScroll self = (Game.DragScroll)checkSelf(l);
         UnityEngine.EventSystems.PointerEventData a1;
         checkType(l, 2, out a1);
         self.OnEndDrag(a1);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }