{"id":13732191,"url":"https://github.com/xasset/xasset","last_synced_at":"2025-04-11T11:49:09.915Z","repository":{"id":37587624,"uuid":"116554593","full_name":"xasset/xasset","owner":"xasset","description":"提升你的生产力。","archived":false,"fork":false,"pushed_at":"2024-06-18T01:24:15.000Z","size":10538,"stargazers_count":2641,"open_issues_count":1,"forks_count":523,"subscribers_count":95,"default_branch":"dev","last_synced_at":"2025-03-12T00:02:09.278Z","etag":null,"topics":["assetbundle","unity","xasset"],"latest_commit_sha":null,"homepage":"https://xasset.cc","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xasset.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-07T09:54:58.000Z","updated_at":"2025-03-11T06:27:21.000Z","dependencies_parsed_at":"2023-10-16T03:16:47.309Z","dependency_job_id":"54279aba-3441-43b0-9216-3d2b6869fc72","html_url":"https://github.com/xasset/xasset","commit_stats":{"total_commits":54,"total_committers":1,"mean_commits":54.0,"dds":0.0,"last_synced_commit":"1d210f43caaad2605771d8be67c2a075980d249c"},"previous_names":["fengjiyuan/xasset"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xasset%2Fxasset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xasset%2Fxasset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xasset%2Fxasset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xasset%2Fxasset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xasset","download_url":"https://codeload.github.com/xasset/xasset/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248389028,"owners_count":21095504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assetbundle","unity","xasset"],"created_at":"2024-08-03T02:01:48.754Z","updated_at":"2025-04-11T11:49:09.881Z","avatar_url":"https://github.com/xasset.png","language":"C#","funding_links":[],"categories":["Unity","Others","C# #"],"sub_categories":["Lua"],"readme":"# 提升你的生产力\n\nxasset 是专业 Unity 构建工具。xasset 提供更先进的 Unity 资产打包、加载、分包、加密和边玩边下等技术方案，帮助你更快更好的进行更高品质的 Unity 产品创作。了解更多 xasset 的产品特性，请前往 [xasset.cc](https://xasset.cc) 查看。\n\n\u003e 请注意：个人或 1-3 个人的小团队，可以免费使用[社区版](https://github.com/xasset/xasset)。对于公司，需要[购买授权](https://xasset.cc/price)才能使用 xasset，并且购买授权后，可以获得功能更强大的专业版。\n\n## 目标、愿景和价值观\n\nxasset 是让用户更快更好的打造 Unity 产品的生产工具。 我们的目标愿景是让用户站在巨人的肩膀上，用更高的起点更快完成更高品质的 Unity 产品创作。 我们的价值观是：\n\n- 简单至上：最好的设计是没有设计，让新手可以一目了然，无需额外解读。\n- 效率优先：生产工具最大的价值是节约的时间，老板们为时间付出金钱，所以时间就是金钱，效率自然是越快越好。\n- 量化数据：以时间为例，例如，使用我们的技术，让 20W+ 资产的项目的全量打包时间从 5h+ 优化到 3h+，让对应的增量打包时间从 2h+ 优化到 \u003c 30min。\n\n从发布至今，xasset 收获了以下荣誉：\n\n- 2000+ 全球开发者的星标支持。\n- 120+ 全球企业用户的信任和支持。\n- Unity 官方在线服务认可的优质合作伙伴。\n\n未来，我们会继续努力，并尝试创造更多可以共赢的新机会。 \n\n## 最新动态 \n\n- 2023.09.19 [问答：Resources回收卡顿很严重为什么？有解么？](https://mp.weixin.qq.com/s/3YyQ3gjBCVE-vtxNCwnhQg)\n- 2023.09.10 [3周年纪念版正式发布](https://xasset.cc/docs/release-notes)\n\n### 推荐服务：使用 UOS CDN 进行资源云端管理\n\n由 xasset 团队和 Unity 团队联手打造的快速资源分发流程和工具。[\u003e\u003e\u003e 前往体验](https://uos.unity.cn/partner/xasset)\n\n\u003e 提示：使用 UOS CDN 的时候，可以把 Bundles 和 updateinfo.json 放到不同的存储桶。Bundles 下的数据无需使用 Badge\n\u003e 来处理内容分发，updateinfo.json 可以用 Badge 来处理开发测试或线上正式环境的内容分发。\n\n## 用法\n\n### 打包资源\n\n1、使用 `Assets\u003exasset\u003eCreate\u003eBuild` 创建打包配置。\n\n2、根据游戏的生命周期节点在 Build 配置中添加 Build Group。\n\n3、使用 `xasset\u003eGenerate Group Assets Menu Items` 为创建的 Build 配置中的 Groups 生成 Assets 菜单。\n\n4、使用 3 生成的菜单 `Assets\u003eGroup To`，在 Unity 的 Project 中选中资产文件或文件夹添加到对应的 Group 中。\n\n5、使用 `xasset\u003eBuild Bundles` 对 Build 配置中包含的资产进行打包。\n\n### 运行示例\n\n对于社区版用户，xasset 提供了包含如下场景功能的示例：\n\n- Startup 初始化场景，不包含任何资产。\n- Splash 闪屏界面。\n- Opening Dialog 开场对话场景，增加一些仪式感。\n- CheckForUpdate 检查更新的场景，提供了资产版本更新检查，网络下载异常处理和资产热重载等功能的示例。\n- Menu 菜单场景，提供了局部场景内容更新等功能的演示。\n- LoadAsset 加载资产场景，提供了同步/异步资产加载，异步实例化，循环依赖加载，子资产加载，资产释放等功能的演示。\n- LoadAdditiveScene 加载附加场景，提供了附加场景加载、激活、卸载等功能的演示。\n- Download 下载场景，提供了单文件下载、暂停下载、恢复下载等功能的演示。\n\n对于专业版用户，xasset 在社区版的基础上增加了以下功能的示例：\n\n- LoadRawAsset 加载原始资产场景，提供了使用 xasset 加载打包为原始二进制格式文件的功能演示。\n\n和社区版不同，专业版可以优化细碎的散文件的IO次数，在更新资产的时候，底层会自动对资产数据进行检查，如果资产所在的分组中有启用二次加密打包，并且该分组的资产没有下载过，那么会优先下载二次加密打包后的资产组文件，反之，如果该分组的资产有下载过，那么只会下载细碎的散文件。\n\nxasset 提供了以下几种运行示例的方式：\n\n#### 一、不打包运行\n\n1、勾选 `xasset\u003ePlay Mode\u003eFast Play Without Build`。\n\n2、打开 Startup 场景让 Unity 进入播放模式。\n\n#### 二、打包运行不更新\n\n1、使用 `xasset\u003eBuild Bundles` 打包示例的资产(如果已经打包过可以跳过)\n\n2、勾选 `xasset\u003ePlay Mode\u003ePlay Without Update`。\n\n3、打开 Startup 场景让 Unity 进入播放模式。\n\n#### 三、打包运行并开启更新使用仿真下载\n\n1、使用 `xasset\u003eBuild Bundles` 打包示例的资产。(如果已经打包过可以跳过)\n\n2、勾选 `xasset\u003ePlay Mode\u003ePlay With Update By Simulation`。\n\n3、使用  `xasset\u003eBuild Player Assets` 构建安装包资产。选中一个 versions.json。 (如果已经打包过可以跳过)\n\n4、打开 Startup 场景让 Unity 进入播放模式。\n\n#### 四、打包运行并开启更新使用真机模式（从CDN下载打包后的资产）\n\n1、使用 `xasset\u003eBuild Bundles` 打包示例的资产。(如果已经打包过可以跳过)\n\n2、勾选 `xasset\u003ePlay Mode\u003ePlay With Update By Realtime`。\n\n3、在 Settings 中配置好 CDN 的地址，并把打包后的资产部署到 CDN。\n\n4、使用  `xasset\u003eBuild Player Assets` 构建安装包资产。选中一个 versions.json。 (如果已经打包过可以跳过)\n\n5、打开 Startup 场景让 Unity 进入播放模式。\n\n## 版本\n\n阅读 [技术规格](https://xasset.cc/price#技术规格) 可以了解不同版本之间的差异。\n\n## 文档\n\n前往 [xasset.cc](https://xasset.cc) 可以了解 xasset 的来龙去脉。\n\n- 2022.1：https://xasset.cc/docs/2022.1/about\n- 2022.2：https://xasset.cc/docs/getting-started\n- 2023.1：https://xasset.cc/docs\n\n## 许可\n\n请注意，xasset 具有特殊许可证，并且在某些情况下需要获得公司许可证。阅读 [许可](LICENSE.md) 文档以获取更多信息。\n\n## 创作者\n\nxasset 的主要创作者是：\n\n- [吉缘](https://github.com/mmdnb)\n- [马三小伙儿](https://github.com/XINCGer)\n- [寒晟](https://github.com/huangchaoqun)\n\n另外，xasset 的广大用户也提供了不少有价值的参考，感谢大家的反馈和建议！我们会继续努力，为大家提供更好的产品和服务。\n\n## 赞助商\n\n成为 xasset 的赞助商可以在这里添加自己的链接，可以带图标或名字：\n\n- Miss_Lynn(人民币50000元)\n- mingjava(人民币5000元)\n- [马三小伙儿](https://github.com/XINCGer)（人民币4800元）\n- 花花 （人民币3848元）\n- [Jojohello](https://www.zhihu.com/people/jojohello)（人民币3000元）\n\n赞助商提供的资金将用来扶持更多有创造力的创作，期待未来有更多有潜力的产品的出现。\n\n## 贡献者\n\n为 xasset 提供好的建议或反馈，可以成为 xasset 的贡献者：\n\n- Emma：+5 点声望\n- 米老头：+10 点声望\n- terry：+10 点声望\n- [EasierLu](https://github.com/EasierLu) +10 点声望\n- [Connor Aaron Roberts](https://github.com/c0nd3v) +10 点声望\n- [xxgamecom](xxgamecom) +10 点声望\n- [roki007](https://github.com/roki007) +5 声望\n- [Contra]() +5 点声望\n- [郑昊](https://github.com/plussign) +5 点声望\n- [MR.汪](https://github.com/youyouhx) +5 点声望\n- [刘家君](https://github.com/suixin567) +2 点声望\n- [李非莬](https://github.com/wynnforthework)  +2 点声望\n- [一念永恆](https://github.com/putifeng) +2 点声望\n- [小魔女纱代酱](https://github.com/DumoeDss)  +2 点声望\n- [夜莺](https://github.com/killop) +5 点声望\n- [MrJLY](https://github.com/MrJLY) +5 点声望\n- [Leo](https://github.com/liyanlong0885) +5 点声望\n- [jakeyluo](https://github.com/jakeyluo) +5 点声望\n\n成为贡献者可以获得一定的声望，声望可以折现，声望和人民币的兑换比例是 1：20，也就是 1 点声望可以兑换 20 元人民币。\n\n## 推荐框架\n\n- [ET](https://github.com/egametang/ET) Unity3D Client And C# Server Framework\n- [TinaX Framework](https://tinax.corala.space/) 开箱即用的Unity独立游戏开发工具\n- [LuaProfiler-For-Unity](https://github.com/ElPsyCongree/LuaProfiler-For-Unity) Lua Profiler For Unity支持\n  XLua、SLua、ToLua\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxasset%2Fxasset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxasset%2Fxasset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxasset%2Fxasset/lists"}