Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_39854397
minigame-unity-webgl-transform
提交
fda013a8
M
minigame-unity-webgl-transform
项目概览
qq_39854397
/
minigame-unity-webgl-transform
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
minigame-unity-webgl-transform
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fda013a8
编写于
6月 24, 2021
作者:
J
junkunzhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 修改格式
上级
3db93983
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
2 deletion
+12
-2
Design/UsingAssetBundle.md
Design/UsingAssetBundle.md
+3
-2
Design/wasmWaterMark.md
Design/wasmWaterMark.md
+8
-0
README.md
README.md
+1
-0
未找到文件。
Design/UsingAssetBundle.md
浏览文件 @
fda013a8
...
...
@@ -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`
。
...
...
Design/wasmWaterMark.md
浏览文件 @
fda013a8
...
...
@@ -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"
/>
README.md
浏览文件 @
fda013a8
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录