-
Notifications
You must be signed in to change notification settings - Fork 0
Swapping Presets
Child of the Beast edited this page Mar 29, 2021
·
2 revisions
The script MIDISetPreset
is used for swapping between your Samples.
-
Controller
- add the MIDI controller to this. -
Preset Number
- This is the Preset the button will swap to. -
Button Label_TMP
[optional] - This is the Label (using TextMeshPro) to use for the button. It's name will automatically be pulled from the MIDISample script. -
Button Label
[optional] - This is the Label to use for the button. It's name will automatically be pulled from the MIDISample script.
Setting up the button should be very straight forward.
You can either attached it to an Object with a collider to be used as a physical button.
Or the recommended method of using a UI button to call Interact()
on the script.