using UnityEngine; public class CoinController : MonoBehaviour { private void FixedUpdate() { transform.Rotate(new Vector3(0f, 5f, 0f)); } }