using System; using System.Collections.Generic; using SpellBoundAR.MusicalInstruments.SheetMusic; using UnityEngine; namespace SpellBoundAR.MusicalInstruments { [Serializable] public class Measure { [SerializeField] private List writtenNotes = new (); public List WrittenNotes => writtenNotes; public WrittenNote GetNoteAtIndex(int index) { if (index < 0 || index >= writtenNotes.Count) return null; return writtenNotes[index]; } } }