using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotatingObject : MonoBehaviour { public Vector3 RotationSpeed; void Update() { transform.Rotate(RotationSpeed * Time.deltaTime * 60f); } }