思路 核心是利用transform.lookAt这个API Vector3 tar = target.Position; tar.y = transform.position.y; transform.lookAt(tar);