public static Vector3 QuaternionToEuler(Quaternion quat) { Matrix3x3 m = QuaternionToMatrix(quat); Vector3 euler = MatrixToEuler(m); //弧度转角度 return(Mathf.Rad2Deg(euler)); }