UGUI Canvas Overlay模式获取屏幕坐标 🍔效果🍱获取 🍔效果 🍱获取 ui的position就是屏幕坐标(●’◡’●) var screenPos = new Vector2(transform.position.x, transform.position.y);