NGUI Integration
Several NGUI events are supported by Event Sounds. There's also Button Clicker script, which can trigger up to five Sound Groups for different NGUI events.
Button Clicker
If you have an NGUI button with a collider, go ahead and attach this script to it from the menu: Component -> Dark Tonic -> Master Audio -> Button Clicker
. You will notice that the Inspector has dropdowns in the Button Clicker section. They each contain the list of Sound Groups from the Master Audio game object. You can play a sound from the following NGUI events:
- MouseDown
- MouseUp
- MouseClick
- MouseHover Start
- MouseHover End