//第一种
// transform.Rotate(new Vector3(90, 0, 0));
// transform.Rotate(0,25*Time.deltaTime ,0,Space.Self );
//第二种
// transform.Rotate(Vector3.up ,90);
//第三种 四元数
//transform.rotation = Quaternion.Euler(45, 45, 45);
//第四种 慢慢旋转
//Quaternion targetRotation = Quaternion.Euler(45, 45, 45);
//transform.rotation = Quaternion.Slerp(transform.rotation,targetRotation,Time.deltaTime *3);
//第五种绕某点旋转
//transform.RotateAround(new Vector3(5, 5, 1), Vector3.up, 20*Time.deltaTime);
//第六种欧拉角
//transform.eulerAngles = new Vector3(90, 0, 0);
//transform.localEulerAngles = new Vector3(90, 0, 0);