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