using System; using UnityEngine; namespace SpellBoundAR.MusicalInstruments.UI { public class SongDisplay : MonoBehaviour { public event Action OnSongChanged; [SerializeField] private Song song; public Song Song { get => song; set { if (song == value) return; song = value; OnSongChanged?.Invoke(); } } } }