976 B
976 B
Adding UI Sound Effects
This page covers adding sound effects to common UI elements like buttons and sliders.
-
Verify the
MusicandSFXaudio busses.- Open the Audio bus editor.
- Confirm that
MusicandSFXaudio busses are available.- If the last bus is
New Bus, try restarting the editor and checking again.
- If the last bus is
- If the audio bus doesn't exist, add it and save the project.
-
Add UI sound effects:
-
By scene.
- Open
main_menu_with_animations.tscnandpause_menu.tscn. - In the Scene Tree, select the
UISoundControllernode. - In the Inspector, add audio streams to the various UI node events.
- Save the scenes.
- Open
-
Project-wide.
- Open
project_ui_sound_controller.tscn. - In the Scene Tree, select the
UISoundControllernode. - In the Inspector, add audio streams to the various UI node events.
- Save the scene.
- Open
-