static int SetChildIndexBefore(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 3);
FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComponent));
FairyGUI.GObject arg0 = (FairyGUI.GObject)ToLua.CheckObject(L, 2, typeof(FairyGUI.GObject));
int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
int o = obj.SetChildIndexBefore(arg0, arg1);
LuaDLL.lua_pushinteger(L, o);
return(1);
}
catch (Exception e)
{
return(LuaDLL.toluaL_exception(L, e));
}
}