static int ToInit(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UITweenCityBuilding obj = (UITweenCityBuilding)ToLua.CheckObject(L, 1, typeof(UITweenCityBuilding));
         obj.ToInit();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int Play(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UITweenCityBuilding obj = (UITweenCityBuilding)ToLua.CheckObject(L, 1, typeof(UITweenCityBuilding));
         bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.Play(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int set_y(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UITweenCityBuilding obj = (UITweenCityBuilding)o;
            float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
            obj.y = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index y on a nil value" : e.Message));
        }
    }
    static int get_y(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UITweenCityBuilding obj = (UITweenCityBuilding)o;
            float ret = obj.y;
            LuaDLL.lua_pushnumber(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index y on a nil value" : e.Message));
        }
    }