Unity屏幕坐标转UI坐标
摘要:var t = Vector2.zero; RectTransformUtility.ScreenPointToLocalPointInRectangle(mCanvas.transform as RectTransform,Input.mousePosition, mCanvas.worldCamera,out t);
阅读全文
posted @ 2018-11-21 16:54
posted @ 2018-11-21 16:54