Skip to content

Commit c0c4185

Browse files
authored
Update UsingAssetBundle.md
修改ab使用文档
1 parent b551ac0 commit c0c4185

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Design/UsingAssetBundle.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# 使用AssetBundle
1+
# 使用 AssetBundle 进行资源按需加载
22

3-
*首先,相比AssetBundle,更推荐使用[Addressable Assets System](UsingAddressable.md)*
4-
5-
本文对AssetBundle使用做简要介绍,同时分析四种下载方式的内存占用情况
3+
阐述如何在小游戏环境对AssetBundle进行打包、加载和内存优化,同时推荐使用WXAssetBundle更自动化地节省内存。
64

75
## 一、AssetBundle使用
86
注意:小游戏环境不支持assetbundle本地加载
@@ -64,7 +62,7 @@ public static void Build()
6462
***特别地, 切忌使用WWW.LoadFromCacheOrDownload或WWW等带cache接口,WebGL模式下将会使用JS模拟文件系统带来额外内存消耗!***
6563

6664

67-
## 二、在小游戏中使用AssetBundle
65+
## 二、小游戏与APP的AssetBundle缓存更新流程差异
6866

6967
小游戏因其平台特殊性,需要保证加载速度,因此我们在底层对bundle文件做了缓存,开发者无须自己实现缓存。
7068

@@ -127,7 +125,7 @@ public static void Build()
127125

128126
读磁盘必定影响性能,所以我们只推荐对内存要求高的重度游戏使用。
129127

130-
## 四、AssetBundle下载API内存分析
128+
## 四、AssetBundle内存分析
131129
### 4.1 切勿使用带Cache能力的线管接口
132130

133131
加载的bundle文件大小为5403162字节

0 commit comments

Comments
 (0)