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