码迷,mamicode.com
首页 > 其他好文 > 详细

AssetBundle 策略

时间:2017-09-29 11:35:52      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:ram   旋转   targe   undle   cte   ios   log   ati   android   

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 策略

标签:ram   旋转   targe   undle   cte   ios   log   ati   android   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!