首页 > 其他 > 详细

AssetBundle 策略

时间:2017-09-29 11:33:00      阅读:305      评论:0      收藏:0      [点我收藏+]

AssetBundle 策略

1、Logical Entity Grouping。按逻辑功能分。

Examples

  • Bundling all the textures and layout data for a User-Interface screen
  • Bundling all the models and animations for a character/set of characters
  • Bundling the textures and models for pieces of the scenery shared across multiple levels

  最上层逻辑适用于此策略,或单一完整的功能试用于此数据。如一个角色数据,一个道具数据。

2、Type Grouping。按类型分。

  适用于资源按平台区分。如同一个shader,ios、android、windows可以分别下载不同的asset bundle。

3、Concurrent Content Grouping

  适用于按场景分。

4、其它分类策略。

  1)高频资源与低频资源区分。

  2)如果资源的多个版本,用variant来区分。

  3)相斥的两个资源必须旋转于不同的asset bundle。如高模、低模。

  

参考:file:///C:/Program%20Files/Unity/Editor/Data/Documentation/en/Manual/AssetBundles-Preparing.html

AssetBundle 策略

原文:http://www.cnblogs.com/tekkaman/p/7610202.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!