摘要: 当Canvas.RenderMode为Screen Space-Overlay时 利用WorldToScreenPoint(worldPos)将物体的世界坐标转换成屏幕坐标,实时更新UI的坐标: using UnityEngine; using System.Collections; public 阅读全文
posted @ 2020-09-07 01:58 小辉歌 阅读(873) 评论(0) 推荐(1)