Skip to content

Commit

Permalink
feat: update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
uhu committed Sep 23, 2024
1 parent 0239d2e commit 1649da7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ public void pay()
new RequestMidasPaymentOption()
{
mode = "game",
env = 0,
offerId = "xxxx", //在米大师侧申请的应用 id
env = 0, // 0:正式环境,1:沙箱环境
offerId = "xxxx", // 在米大师侧申请的应用 id
currencyType = "CNY",
outTradeNo = "xxxx", // 业务订单号
success = (res) =>
{
Debug.Log("pay success!");
Expand Down
1 change: 0 additions & 1 deletion Design/IssueForProduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
- 用户反馈日志
- 小游戏实时日志
- JS Error错误日志
=

## 用户反馈日志
数据入口:MP平台-用户反馈
Expand Down
2 changes: 1 addition & 1 deletion Design/OptimizationPerformence.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Unity WebGL环境的lua不支持JIT,因此需要避免用于重度逻辑。可

<img src='../image/optimizationperformence2.png' width="800"/>

如需设置iOS的设备分辨率可以在【导出面板-更多配置项-Project Conf】中修改配置 `IOS Device Pixel Ratio` 为 2:
如需强制设置iOS的设备分辨率可以在【导出面板-更多配置项-Project Conf】中修改配置 `IOS Device Pixel Ratio` 为 2:

<img src='../image/IOSDevicePixelRatio.png' width="200"/>

Expand Down
2 changes: 2 additions & 0 deletions Design/RenderOptimization.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
- 如果手机发烫比较严重,可以适当调小一点渲染分辨率,看发烫是否有改善
- 以 iOS为例,如果dpr(Device Pixel Ratio)默认是3.0,那么可以尝试设置 [2.0 ~ 2.5]
- 这个方法可能会牺牲一点画质效果,需要画质和性能之前取一个平衡
- 如需强制设置iOS的设备分辨率可以在【导出面板-更多配置项-Project Conf】中修改配置 `IOS Device Pixel Ratio` 为 2:
<img src='../image/IOSDevicePixelRatio.png' width="200"/>

>>### 后处理
- 后处理的销不小,加上 WebGL 游戏在可用内存和性能对比 App 有差距
Expand Down
1 change: 0 additions & 1 deletion Design/WX_SDK.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ var bannerAd = WX.CreateBannerAd(new WXCreateBannerAdParam()
height = 200
}
});

bannerAd.OnLoad(()=> {
bannerAd.Show();
});
Expand Down

0 comments on commit 1649da7

Please sign in to comment.