static int SetPercY(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); FairyGUI.ScrollPane obj = (FairyGUI.ScrollPane)ToLua.CheckObject(L, 1, typeof(FairyGUI.ScrollPane)); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); bool arg1 = LuaDLL.luaL_checkboolean(L, 3); obj.SetPercY(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int SetPercY(IntPtr l) { try { FairyGUI.ScrollPane self = (FairyGUI.ScrollPane)checkSelf(l); System.Single a1; checkType(l, 2, out a1); System.Boolean a2; checkType(l, 3, out a2); self.SetPercY(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }