public void Subscribe(NoteSubscribe sub) { subscribers.Add(sub); }
void Start() { mat = GetComponent<Renderer>().material; sub = GetComponent<NoteSubscribe>(); }
public void MidiSubscribe(NoteSubscribe sub) { midiSystem.Subscribe(sub); }
public void Subscribe(NoteSubscribe sub) { subscribers.Add(sub); }
void Start() { mat = GetComponent<Renderer>().material; sub = GetComponent<NoteSubscribe>(); }
public void MidiSubscribe(NoteSubscribe sub) { midiSystem.Subscribe(sub); }