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);
}