Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 4331729

Browse files
committed
fix android view bug on Android P (readme)
1 parent ba3393c commit 4331729

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README-ZH.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ UIWidgets也支持Gif!
179179
当一个Unity项目运行在Android设备上时,状态栏是默认隐藏且无法在编辑内进行调整的。
180180
如果您希望在您的UIWidgets App中显示状态栏,您可以使用这个[解决方案](https://github.com/Over17/UnityShowAndroidStatusBar)。我们将尽快推出我们自己的解决方案,并保证届时开发者可以进行无缝切换。
181181

182+
此外,为了让上述插件在Android P及以上Android系统中正常工作,请勾选上"Player Settings"中的"Render Outside Safe Area"选项。
183+
182184
#### 七、自动调节帧率
183185
如果要使得构建出的应用能够自动调节帧率,请打开Project Settings,将构建目标平台对应的Quality选项卡中的V Sync Count设置为Don't Sync。
184186
默认的逻辑是在界面静止时将帧率降低为25,在界面变动时将帧率提高至60。

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,13 @@ Status bar is always hidden by default when an Unity project is running on an An
208208
want to show the status bar in your App, this
209209
[solution](https://github.com/Over17/UnityShowAndroidStatusBar) seems to be
210210
compatible to UIWidgets, therefore can be used as a good option before we release our
211-
full support solution on this issue.
211+
full support solution on this issue.
212+
213+
Besides,
214+
please set "Render Outside Safe Area" to true in the "Player Settings" to make this plugin working properly on Android P or later.
215+
216+
217+
212218

213219
#### Automatically Adjust Frame Rate
214220

0 commit comments

Comments
 (0)