BeatSequencer
MonoBehaviour
Last updated
MonoBehaviour
Last updated
BeatSequenceList BeatSequences
The list of BeatSequences to play
List<BeatSequenceChange>BeatSequenceChanges
The list of sequence changes throughout the song
Action<int> OnInstrumentStep
Called when the sequencer steps through the sequence. The parameter is the index of the instrument that was triggered
void CallOnNextInstrumentStep
(int instrumentIndex, Action callback)
Assign a callback to be called when the next step of an instrument is triggered. Can be useful for example to trigger a particle effect when a drum is hit. instrumentIndex - Instrument you want the callback to happen on
callback - The callback to be called