Skip to content

Commit 79ffe71

Browse files
author
Ocean
committed
修改常见问题列表
1 parent b1857c7 commit 79ffe71

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.config/.vitepress/config.mts

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export default defineConfig({
4545
{ text: "技术原理", link: "/Design/Summary" },
4646
{ text: "兼容性评估", link: "/Design/Evaluation" },
4747
{ text: "推荐引擎版本", link: "/Design/UnityVersion" },
48+
{ text: "常见技术问题QA", link: "/Design/DevelopmentQAList"},
4849
],
4950
},
5051
{

Design/DevelopmentQAList.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,11 @@ if (WXConvertCore.DoExport() == WXConvertCore.WXExportError.SUCCEED) {
147147
#### 5.小游戏是否支持Unity VideoPlayer
148148

149149
- 支持,但是IOS有限制只能同时播放一个,并且需要注意基础库版本限制,低版本无法播放。如果只是单纯使用全屏的视频播放,更推荐使用小游戏API视频播放能力。请参考[小游戏开发者文档](https://developers.weixin.qq.com/minigame/dev/api/media/video/wx.createVideo.html)以及示例[Video Demo](https://github.com/wechat-miniprogram/minigame-unity-webgl-transform/tree/main/Demo/WX_Video)
150-
#### 6.为什么使用Application.targetFrameRate无法限帧率?安卓左上角帧率不对
150+
#### 6.小游戏应该使用哪个接口进行限制帧率?
151151

152-
- Application.targetFrameRate默认使用timer控制帧率,会导致不平滑,定时不精确
153-
- 请更换接口WX.SetPreferredFramesPerSecond限制小游戏
152+
- Application.targetFrameRate
153+
- 使用导出插件的“性能面板”(ProfileStats)可以看到帧耗时、限帧与当前FPS
154+
- 使用Perfdog查看帧率并不总是准确,因为30/15等帧率是微信使用raf分帧处理,Perfdog统计的是raf触发帧率而不是分帧后的帧率。
154155
#### 7.Unity Audio音频是否需要使用小游戏音频适配
155156

156157
- 转换方案已通过WebAudio支持Unity音频,通常无需替换

0 commit comments

Comments
 (0)