Unity - A计划(永久有效期) 扫二维码继续学习 二维码时效为半小时

(196评价)
价格: 4049.00元
怎样将UGUI本地坐标转化为屏幕坐标?
omylive发起了问答2018-03-02
1
回复
2148
浏览

屏幕坐标转化为本地坐标可以用这个函数 RectTransformUtility.ScreenPointToLocalPointInRectangle(RectTransform rect, Vector2 screenPoint, Camera cam, Vector2 localPoint)。但我现在已知道localPoint,想转化成screenPoint,怎么弄

所有回复
发表回复
你还没有登录,请先 登录或 注册!