using UnityEngine; public class Rotator : MonoBehaviour { public float speed = 90f; void Update() { transform.Rotate(0, speed * Time.deltaTime, 0); } }