标签:blog io ar os on div log 代码 as
RaycastHit hit;
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
if (Physics.Raycast(ray, out hit, 1000))
{
Vector3 posiont = new Vector3(hit.point.x, hit.point.y, hit.point.z);
Debug.Log("点击位置:" + posiont);
}
标签:blog io ar os on div log 代码 as
原文地址:http://www.cnblogs.com/coderfxx/p/4114431.html