Unity 获取屏幕当前宽度和高度

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013614126/article/details/84026697
  • 宽度:UnityEngine.Screen.width
  • 高度:UnityEngine.Screen.height

参考:https://docs.unity3d.com/ScriptReference/Screen.html

猜你喜欢

转载自blog.csdn.net/u013614126/article/details/84026697