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