📅  最后修改于: 2022-03-11 14:48:38.989000             🧑  作者: Mango
float targetAngle = 90;
float turnSpeed = 5;
transform.rotation = Quaternion.Slerp (transform.rotation, Quaternion.Euler (0, 0, targetAngle), turnSpeed * Time.deltaTime);