浏览代码

Update Document.

/main
Yuncong Zhang 6 年前
当前提交
1c9a7b59
共有 2 个文件被更改,包括 9 次插入1 次删除
  1. 5
      README-ZH.md
  2. 5
      README.md

5
README-ZH.md


当一个Unity项目运行在Android设备上时,状态栏是默认隐藏且无法在编辑内进行调整的。
如果您希望在您的UIWidgets App中显示状态栏,您可以使用这个[解决方案](https://github.com/Over17/UnityShowAndroidStatusBar)。我们将尽快推出我们自己的解决方案,并保证届时开发者可以进行无缝切换。
#### 七、自动调节帧率
如果要使得构建出的应用能够自动调节帧率,请打开Project Settings,将构建目标平台对应的Quality选项卡中的V Sync Count设置为Don't Sync。
默认的逻辑是在界面静止时将帧率降低为15,在界面变动时将帧率提高至60。
如果您需要自己实现调节帧率的逻辑,请覆盖UIWidgetsPanel中的`speedUpFrameRate`和/或`coolDownFrameRate`方法。
## 调试UIWidgets应用程序

5
README.md


compatible to UIWidgets, therefore can be used as a good option before we release our
full support solution on this issue.
#### Automatically Adjust Frame Rate
To build an App that is able to adjust the frame rate automatically, please open Project Settings, and in the Quality tab, set the "V Sync Count" option of the target platform to "Don't Sync".
The default logic is to set the frame rate to 15 when the screen is static, and change the frame rate to 60 whenever the screen changes.
If you would like to implement your own logic, please override the `speedUpFrameRate` and/or `coolDownFrameRate` methods of UIWidgetsPanel.
## Debug UIWidgets Application

正在加载...
取消
保存