经验首页 前端设计 程序设计 Java相关 移动开发 数据库/运维 软件/图像 大数据/云计算 其他经验
当前位置:技术经验 » 程序设计 » 游戏设计 » 查看文章
AssetBundleMaster
来源:cnblogs  作者:tiancaiKG  时间:2019/3/26 8:29:14  对本文有异议

  AssetBundleMaster is a integrated solution for build AssetBundle and load assets from AssetBundles with autocomplete logic, 

it has many features that meet the actual development needs.

Build AssetBundle Features:

  1. Fast and simple. you can build your AssetBundle with just 3 button clicked, fast and simple.

  2. No data redundancy. the autocomplete logic will determin the assetbundle name for all assets that should be included,

     and clean assetbundle names which should not be included, and the assets will never have multi copies in built assetbundles(Such as UI Sprites, atlas).

  3. IO and load speed friendly. the assetbundle name determin logic will try to make the number of built assetbundles as few as it can but no duplicated assets.

  4. Simple version control. you can build diferent versions and the patch info will be generated.

These features can make sure every time you build the assetbundles will be the fastest way and no data redundancy.

 

Asset Load Features:

  1. No need changing your habits. the asset load API is looks like the Resources load API, and the logic is also the same, users can easily replace them.

  2. Editor developing friendly. asset load can do load asset correctly in editor mode without build assetbundle, scene load is also, even no need to add scene to build settings.

  3. Memory control friendly. the exposed high-level API for loading resources are object pool integrated, and all these pools are using WeakReference which means only low-level Objects

     and users will hold references of assets. if users call unload any asset, the asset and its sub assets or dependences will be unrefenerced in low-level Objects,

     at this time, the handle of the asset is taken by users. 

  4. Optimised. the GameObject assets has its special Manger that can do Spawn and Despawn by special object pool, fast and make it reusable.

     not only object pool used by caching assets, but also used by object allocation and deallocation. GC friendly.

 

原文链接:http://www.cnblogs.com/tiancaiwrk/p/10594593.html

 友情链接:直通硅谷  点职佳  北美留学生论坛

本站QQ群:前端 618073944 | Java 606181507 | Python 626812652 | C/C++ 612253063 | 微信 634508462 | 苹果 692586424 | C#/.net 182808419 | PHP 305140648 | 运维 608723728

W3xue 的所有内容仅供测试,对任何法律问题及风险不承担任何责任。通过使用本站内容随之而来的风险与本站无关。
关于我们  |  意见建议  |  捐助我们  |  报错有奖  |  广告合作、友情链接(目前9元/月)请联系QQ:27243702 沸活量
皖ICP备17017327号-2 皖公网安备34020702000426号