摘要: 物品跟随鼠标移动 正交视角 void Update() { Vector3 v3 = Camera.main.ScreenToWorldPoint(Input.mousePosition); transform.position = new Vector3(v3.x, v3.y, 0); } 透视角 阅读全文
posted @ 2020-05-15 21:46 三页菌 阅读(219) 评论(0) 推荐(0) 编辑