浏览代码

Update README.

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

2
README-ZH.md


#### 七、自动调节帧率
如果要使得构建出的应用能够自动调节帧率,请打开Project Settings,将构建目标平台对应的Quality选项卡中的V Sync Count设置为Don't Sync。
默认的逻辑是在界面静止时将帧率降低为15,在界面变动时将帧率提高至60。
如果您需要自己实现调节帧率的逻辑,请覆盖UIWidgetsPanel中的`speedUpFrameRate`和/或`coolDownFrameRate`方法
如果您需要修改此逻辑,请将`UIWidgetsGlobalSettings.instance.speedUpFrameRate`和/或`UIWidgetsGlobalSettings.instance.coolDownFrameRate`设置为您自己的函数
## 调试UIWidgets应用程序

2
README.md


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.
If you would like to modify this logic, please set `UIWidgetsGlobalSettings.instance.speedUpFrameRate` and/or `UIWidgetsGlobalSettings.instance.coolDownFrameRate` to your own functions.
## Debug UIWidgets Application

正在加载...
取消
保存