Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Play a Ui Sound when Mouse Over a button

0 votes
Hello everyone! Working on a game on which i try to implement wwise on! Trying to play an Ak Event for a Ui Sound when the Mouse is OVER a button! I tried to add a Ak Event Trigger on: AkTriggerMouseEnter" but it doesnt seems to work!
When i activate the Profiler into Wwise while being remotely connected to the game nothing shows up

Do you have an idea of how to deal with playing a sound in Ui OVER a button ?

Thanks in advance
asked Aug 13, 2020 in General Discussion by Angel I. (100 points)

1 Answer

0 votes
Hey Angel,

If it's not showing up in your Profiler, then I'd suspect it's not getting called from Unity.

Did you try this with a new scene and just 1x game object with a collider? I'm asking, cause other game objects might "block" the gameobject you've attached the AkEvent to, even if the Mesh Renderer is not visible. The "AkTriggerMouseEnter" function is using the OnMouseEnter() function, that you can read more about here -

Let us know if this helps :)
answered Aug 17, 2020 by Mads Maretty S. (Audiokinetic) (10,310 points)