unity how to rotate objecty over time code example Example: unity rotate object over time transform.Rotate( Vector3.up * ( rotationSpeed * Time.deltaTime));