摘要: 1. 将屏幕坐标转换成世界坐标 Camera.main.ScreenToWorldPoint(Input.mousePosition); X //将鼠标点击的坐标转换成世界坐标 注意:该输出为一个固定坐标,转换失败。因为mousePosition是屏幕坐标(x,y,0),z轴是点与相机的距离。 1 阅读全文
posted @ 2021-09-24 22:12 番茄玛丽 阅读(204) 评论(0) 推荐(0) 编辑