Enable() public method

public Enable ( bool value ) : void
value bool
return void
 static public int Enable(IntPtr l)
 {
     try {
         FairyGUI.LongPressGesture self = (FairyGUI.LongPressGesture)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));
     }
 }
示例#2
0
 static int Enable(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.LongPressGesture obj = (FairyGUI.LongPressGesture)ToLua.CheckObject <FairyGUI.LongPressGesture>(L, 1);
         bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.Enable(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }