📅  最后修改于: 2022-03-11 14:49:01.156000             🧑  作者: Mango
void Awake() {
target = GameObject.FindGameObjectWithTag("Player").transform;
}
void Update () {
transform.position = target.position + offset;
}