Currently I am rotating every frame on Update a gameobject like this.
float rotation = Time.deltaTime * speed; transform.Rotate(new Vector3(0, 0, rotation));