Editor extension for Unity engine.
Editor helps to assign click sound to all buttons in the current scene. It lists all buttons in one window, and it allows to edit sounds of those buttons.
Non-official Version 1.3 by TheanaProductions:
Possibility to add/remove/refresh button elements at run-time
Fixed obsolete script to work with Unity 2021.1.16f1
Possibility to chose only the buttons outside of prefabs in the scene, or all buttons
Version 1.2:
Possibility to add click sound to Toggle UI components.
Several filters for editor which will help to organize sounds when you have many buttons in the scene.
Version 1.1:
Possibility to add click sound for any game object which has EventTrigger with PointerClick event.
Please check out releases for the latest version of the official editor.
Please check out following page for documentation: Button Sounds Editor for Unity.
To use the non-official Version 1.3 run-time component you just need to put it on your AudioSource component and add the AudioClip through the inspector. There's no need to use the editor window if you use the ButtonClickSoundRunTime component. To call it from script, just use the namespace Assets.Plugins.ButtonSoundsEditor and call it with ButtonClickSoundRunTime.instance)
How editor looks.