public NoteSettings (int length, beatList beat, buttonType button) { Length = length; Beat = beat; Button = button; }
void Setup() { beatlisttarget = noteSetting.Beat; buttontarget = noteSetting.Button; Length = noteSetting.Length; ActivateButton((int) noteSetting.Button); played = false; }