public Transform target;
public Vector3 MyScreenToworld(Vector3 mousepos, Transform targetTransform)
{
//先计算相机到目标的向量
Vector3 dir = targetTransform.position - Camera.main.transform.position;
//计算投影
Vector3 normardir = Vector3.Project(dir, Camera.main.transform.forward);