unity 判断触摸坐标是否落在ui上
摘要:
1.触摸坐标转ui的GameObject的localPosition Vector3 uiPosGet(Vector3 pos,RectTransform rect) { Vector2 pos2D; RectTransformUtility.ScreenPointToLocalPointInRec 阅读全文
posted @ 2016-05-10 03:52 luoyikun 阅读(46) 评论(0) 推荐(0)