void Update () { if (Input.GetMouseButtonDown(0)) { Vector3 screenPos = Input.mousePosition; Debug.Log("screenPos.x=" + screenPos.x + ", screenPos.y=" + screenPos.y + ", screenPos.z=" + screenPos.z); } }