Unity Screen Screen.currentResolution 当前分辨率


The current screen resolution (Read Only).

当前屏幕的分辨率。(只读)

If the player is running in window mode, this returns the current resolution of the desktop.

如果播放器是运行在窗口模式,则返回的是当前桌面的分辨率。

 

在显示器上调节分辨率不起作用,返回的是当前显示器的分辨率,如:

调节此显示器的分辨率为1600x900,currentResolution 返回的还是1920x1080.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM