public static int ShowSlot(IntPtr l) { int result; try { UISpineGraphic uispineGraphic = (UISpineGraphic)LuaObject.checkSelf(l); string name; LuaObject.checkType(l, 2, out name); bool show; LuaObject.checkType(l, 3, out show); uispineGraphic.ShowSlot(name, show); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }