menu
 

La section Questions et réponses de la communauté Audiokinetic est un forum où les utilisateurs de Wwise et de Strata peuvent poser des questions et répondre à celles des autres membres de la communauté. Si vous souhaitez obtenir une réponse de la part de l'équipe de soutien technique d'Audiokinetic, veillez à utiliser le formulaire de Tickets de Soutien.

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
dans General Discussion par Angel I. (130 points)

1 Réponse

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 - https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnMouseEnter.html

Let us know if this helps :)
par Mads Maretty S. (Audiokinetic) (40.2k points)
...