打包好AssetsBundle产生的Manifest文件是干什么的

Unity-AssetBundle详细解读(二)打包好AssetsBundle产生的Manifest文件是干什么的?

crc为校验码 通过这个码检查是否完整
Assets为包里包含了哪些资源文件
Dependencies为包的依赖
-------------------------------------------------
如果依赖文件单独打包了或素材单独打包了 加载时需要专门为依赖文件写打包代码 列入
Unity-AssetBundle详细解读(二)打包好AssetsBundle产生的Manifest文件是干什么的?
这样生成的游戏物体就不会丢失材质了
原理:
AB包依赖
Unity-AssetBundle详细解读(二)打包好AssetsBundle产生的Manifest文件是干什么的?
官方文档说法 ab的Mataterial依赖于b包的Texture 这样需要加载b包的Texture先加载谁无所谓 原理是 在加载a包的Mataterial时 依赖的资源必须全部加载完毕 在没有使用a包的Mataterial时 先加载谁无所谓
自己测试 得出在使用后在加载资源一样可以得到依赖的资源
测试代码
Unity-AssetBundle详细解读(二)打包好AssetsBundle产生的Manifest文件是干什么的?

相关文章:

  • 2021-08-30
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2021-10-15
  • 2021-07-04
  • 2021-11-17
  • 2021-07-24
猜你喜欢
  • 2021-07-27
  • 2021-06-07
  • 2021-08-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案