提交 fda013a8 编写于 作者: J junkunzhang

fix: 修改格式

上级 3db93983
......@@ -79,8 +79,9 @@ public static void Build()
AssetBundle ab = www.assetBundle;
```
界面如下
<image src="../image/assetbundle/assetbundle-scene.png" width="600" />
界面如下
<image src="../image/assetbundle/assetbundle-scene.png" width="600" />
按钮从上往下加载方式分别为使用`UnityWebRequestAssetBundle.GetAssetBundle`, `UnityWebRequest`, `WWW.LoadFromCacheOrDownload`, `WWW`
......
......@@ -8,18 +8,23 @@
### 使用方式:
项目首次使用插件默认会启用打水印功能。
插件检测并展示项目中的wasm文件,开发者自行决定是否需要上传并打水印。
<image src="https://res.wx.qq.com/wechatgame/product/webpack/userupload/20210623/163231/single-file.png" width="400" />
点击上传按钮后,插件会自动执行逻辑
正在打水印
<image src="https://res.wx.qq.com/wechatgame/product/webpack/userupload/20210623/164104/doing.png" width="400">
下载中
<image src="https://res.wx.qq.com/wechatgame/product/webpack/userupload/20210623/164114/downloading.png" width="400">
已完成
<image src="https://res.wx.qq.com/wechatgame/product/webpack/userupload/20210623/164504/reset.png" width="400">
完成后,即可测试小游戏是否正常运行,若有异常,可点击还原wasm文件到初始状态,重新打水印。
......@@ -29,10 +34,13 @@
<image src="https://res.wx.qq.com/wechatgame/product/webpack/userupload/20210623/163222/multi-file.png" width="400" />
若不想使用水印功能,点击关闭水印,wasm代码回到初始状态
<image src="https://res.wx.qq.com/wechatgame/product/webpack/userupload/20210623/163419/disabled.png" width="400"/>
### 注意
打水印和下载过程可能会有一定耗时,请耐心等待。
若AppID为测试号,或者是小程序AppID,会出现如下界面,更换正确的AppID后重新检测即可
<image src="https://res.wx.qq.com/wechatgame/product/webpack/userupload/20210623/163318/invalid-appid.png" width="400"/>
......@@ -25,6 +25,7 @@
- [启动流程与时序](Design/Startup.md)
- [使用 Loader 进行游游戏加载](Design/UsingLoader.md)
- [使用 Addressable 进行资源按需加载](Design/UsingAddressable.md)
- [使用 AssetBundle](Design/UsingAssetBundle.md)
- [首场景启动优化](Design/FirstSceneOptimization.md)
- [启动留存数据上报统计](Design/ReportStartupStat.md)
- [代码分包](Design/WasmSplit.md)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册