A MMSequencer with ready made slots to play MMFeedbacks.
More...
|
| override void | PlayTrackEvent (int index) |
| | When playing our event for control, we play our audiosource.
|
| override void | EditorMaintenance () |
| | When looking for changes we make sure we have enough sounds in our array.
|
| virtual void | SetupFeedbacks () |
| | Ensures the array is always the right length.
|
| virtual void | ToggleSequence () |
| | Plays or stops the sequence based on its current state.
|
| virtual void | PlaySequence () |
| | Starts playing the sequence.
|
| virtual void | StopSequence () |
| | Stops the playback of the sequence.
|
| virtual void | ClearSequence () |
| | Clears the contents of the sequence.
|
| virtual void | PlayBeat () |
| | Triggers events on the beat if needed.
|
| virtual void | ToggleActive (int trackIndex) |
| | Turns a sequence track active (will play its notes) or inactive (won't do it)
|
| virtual void | ToggleStep (int stepIndex) |
| | Toggles a whole step column, turning all its notes active or inactive.
|
| virtual void | IncrementLength () |
| | Adds one column at the end of the sequence.
|
| virtual void | DecrementLength () |
| | Removes the last column of the sequence.
|
| virtual void | UpdateTimestampsToMatchNewBPM () |
| | Parses the sequence contents and updates timestamps to match the new BPM.
|
| virtual void | ApplySequencerLengthToSequence () |
| | Rebuilds the sequence properties to match length and track count - will destroy contents.
|
| virtual void | SetupTrackEvents () |
| | Adds or rebuilds to the event list.
|
|
| override void | OnBeat () |
| | On beat we play our audio sources.
|
| virtual void | Start () |
| | On Start we initialize our sequencer.
|
| virtual void | Initialization () |
| | On init, initializes the metronome and plays the sequence if needed.
|
| virtual void | Update () |
| | On update we handle our beat.
|
| virtual void | HandleBeat () |
| | Determines if we're on a beat, and plays the beat if needed.
|
| virtual void | PlayMetronomeSound () |
| | Plays the sound of the metronome.
|
A MMSequencer with ready made slots to play MMFeedbacks.
◆ EditorMaintenance()
| override void MoreMountains.Feedbacks.MMFeedbacksSequencer.EditorMaintenance |
( |
| ) |
|
|
virtual |
◆ OnBeat()
| override void MoreMountains.Feedbacks.MMFeedbacksSequencer.OnBeat |
( |
| ) |
|
|
protectedvirtual |
◆ PlayTrackEvent()
| override void MoreMountains.Feedbacks.MMFeedbacksSequencer.PlayTrackEvent |
( |
int | index | ) |
|
|
virtual |
◆ SetupFeedbacks()
| virtual void MoreMountains.Feedbacks.MMFeedbacksSequencer.SetupFeedbacks |
( |
| ) |
|
|
virtual |
Ensures the array is always the right length.
◆ Feedbacks
| List<MMFeedbacks> MoreMountains.Feedbacks.MMFeedbacksSequencer.Feedbacks |
the list of audio clips to play (one per track)
The documentation for this class was generated from the following file: