【屏幕适配】修复1080*1920报错

dev_chengFeng
gaoxin 2021-03-31 14:06:11 +08:00
parent 94714c1ce4
commit 00cb202049
1 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,9 @@ function UIManager.Adapter()
}
-- 实际分辨率 = 屏幕分辨率 / 比例因子
UIManager.UIHeight = 1920
UIManager.UIWidth = 1080
-- 屏幕大小
UIManager.width = Screen.width