2019年7月12日

unity ui坐标系转换

摘要: 世界坐标: transform.position获取的是世界坐标 屏幕坐标: 单位像素 屏幕左下角(0,0)右上角(Screen.width,Screen.height) Screen.width = Camera.main.pixelWidth; Screen.height = Camera.ma 阅读全文

posted @ 2019-07-12 17:40 Sweet小马 阅读(2046) 评论(0) 推荐(0) 编辑

导航