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