unity中2D模式下的射线

RaycastHit2D hit = Physics2D.Raycast(Camera.main.ScreenToWorldPoint(Input.mousePosition),Vector2.zero);

猜你喜欢

转载自blog.csdn.net/ONEMOOC/article/details/80944041
今日推荐