Makes adding sound effects to UI Toolkit easy. No custom element required because it uses Manipulators. All you need is a USS class or a custom style.
For more details about this asset: Click Here
This package is provided solely for evaluation, learning, or testing purposes before purchase and is not permitted for commercial use.
UI Toolkit Sound Effects & Audio Events v1.0.3 (Latest version)
“If possible, please buy the package to support the developer”
Description
😎 No coding skills required.
Simply click the “Add Sound Effect” button and configure it inside the UI Builder.
💫 Non-Destructive
Add sounds to your existing UI. No custom element required because it uses Manipulators. All you need is a USS class or a custom style.
🚀 Custom Styles
Supports adding sound effects via custom style “–kamgam-sfx-id”.
📚 Lots of examples & documentation
Check out Kamgam/UIToolkitSoundEffects/Examples.
✔️ Scripting API
Easy to use extensions methods. Just do element.SEAddEffect(id) to add an effect at runtime. There are UnityEvents (and delegates) for sound events so you can trigger your own or third-party code easily. Please check out the manual for more details.
✔️ Supports Unity 2022.3+, 2023, Unity 6, Unity 6.3, … LTS
It may work with earlier versions too but those are not tested anymore.
*Please notice that Unity 2023 was succeeded by Unity 6. I highly recommend skipping 2023 and using 6 instead.
✔️ Supports WebGL & lL2CPP, Mobile, Desktop, Console, ..
Runs pretty much anywhere. Try before you buy:
> Pc Demo
> Android Demo
> WebGL Demo
✔️ Full Source Code
I publish this asset with full source code because as a developer I know how annoying it is to not have source code access. If you like it then please remind others to purchase the plugin. Don’t just copy and paste it everywhere. Thank you ❤️
👇 Things you should know 👇 (Read this before you buy):
⚠️ This is NOT for the default (uGUI) UI system. It is for the new UI Toolkit.
There is an FAQ section in the manual. Please go read it first if you have any questions.
✍️ Usage
1) Open th UI Builder window. Select and element.
2) Scroll down to the “Sound Effects” section
3) Click “Add new sound effect” and configure it.
4) Done
😎 HINT 1:
You can use custom styles (or scripts) to add sound effects to all your buttons. Much more convenient than adding them manually one by one.
🧐 HINT 2:
The AudioSourceSettings allows you to tweak the playback settings just like a regular AudioSource would.
🤠 HINT 3:
You can have react to multiple events per effect (check out the toggle in the examples).




