static public int CheckLayer(IntPtr l) { try { UIWidget self = (UIWidget)checkSelf(l); self.CheckLayer(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int CheckLayer(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UIWidget obj = (UIWidget)ToLua.CheckObject<UIWidget>(L, 1); obj.CheckLayer(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } }