static int SetCurrentPageY(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 3);
FairyGUI.ScrollPane obj = (FairyGUI.ScrollPane)ToLua.CheckObject(L, 1, typeof(FairyGUI.ScrollPane));
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
obj.SetCurrentPageY(arg0, arg1);
return(0);
}
catch (Exception e)
{
return(LuaDLL.toluaL_exception(L, e));
}
}