File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ export default defineConfig({
45
45
{ text : "技术原理" , link : "/Design/Summary" } ,
46
46
{ text : "兼容性评估" , link : "/Design/Evaluation" } ,
47
47
{ text : "推荐引擎版本" , link : "/Design/UnityVersion" } ,
48
+ { text : "常见技术问题QA" , link : "/Design/DevelopmentQAList" } ,
48
49
] ,
49
50
} ,
50
51
{
Original file line number Diff line number Diff line change @@ -147,10 +147,11 @@ if (WXConvertCore.DoExport() == WXConvertCore.WXExportError.SUCCEED) {
147
147
#### 5.小游戏是否支持Unity VideoPlayer
148
148
149
149
- 支持,但是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.小游戏应该使用哪个接口进行限制帧率?
151
151
152
- - Application.targetFrameRate默认使用timer控制帧率,会导致不平滑,定时不精确
153
- - 请更换接口WX.SetPreferredFramesPerSecond限制小游戏
152
+ - Application.targetFrameRate
153
+ - 使用导出插件的“性能面板”(ProfileStats)可以看到帧耗时、限帧与当前FPS
154
+ - 使用Perfdog查看帧率并不总是准确,因为30/15等帧率是微信使用raf分帧处理,Perfdog统计的是raf触发帧率而不是分帧后的帧率。
154
155
#### 7.Unity Audio音频是否需要使用小游戏音频适配
155
156
156
157
- 转换方案已通过WebAudio支持Unity音频,通常无需替换
You can’t perform that action at this time.
0 commit comments