Esempio n. 1
0
 static public int Enable(IntPtr l)
 {
     try {
         FairyGUI.SwipeGesture self = (FairyGUI.SwipeGesture)checkSelf(l);
         System.Boolean        a1;
         checkType(l, 2, out a1);
         self.Enable(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int Enable(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.SwipeGesture obj = (FairyGUI.SwipeGesture)ToLua.CheckObject <FairyGUI.SwipeGesture>(L, 1);
         bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.Enable(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }