public void AddBeat(Beat beat) { beats.Add(beat); }
public void RemoveBeat(Beat beat) { beats.Remove(beat); }
public void Set(Beat beat) { _beat = beat; duration = beat.duration; instance = GetComponent<RectTransform>(); }