📅  最后修改于: 2022-03-11 14:49:13.704000             🧑  作者: Mango
public Transform target;
void Update ()
{
Vector3 wantedPos = Camera.main.WorldToScreenPoint(target.position);
transform.position = wantedPos;
}