Cancel() public method

public Cancel ( ) : void
return void
 static public int Cancel(IntPtr l)
 {
     try {
         FairyGUI.LongPressGesture self = (FairyGUI.LongPressGesture)checkSelf(l);
         self.Cancel();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 2
0
 static int Cancel(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.LongPressGesture obj = (FairyGUI.LongPressGesture)ToLua.CheckObject <FairyGUI.LongPressGesture>(L, 1);
         obj.Cancel();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }