using UnityEngine; public class UIRotate : MonoBehaviour { public Vector3 speed; void Update() { this.transform.Rotate(speed * Time.deltaTime); } }