menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持
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
Angel I. (130 ポイント) General Discussion

回答 1

0 支持
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 :)
Mads Maretty S. (Audiokinetic) (40.2k ポイント)
...