UnityEngine中有个已经设置好的属性 UnityEngine.Screen.width UnityEngine.Sreen.height 转载于:https://www.cnblogs.com/zly24432/p/10361265.html