using UnityEngine;

public class RotateSample : MonoBehaviour
{
    [SerializeField] float degreesPerSecond = 30f;

    void Update()
    {
        transform.Rotate(0f, degreesPerSecond * Time.deltaTime, 0f, Space.Self);
    }
}
