menu
 

在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

0 投票
Hello,

I am wanting to play different one-shot sounds based on an game parameter value. So for example if the value is between 0 and 25, play sound A. Between 26 and 50 play sound B. 51 and 75 play sound C, etc.

I know that you can set up a switch group to use a game parameter, which seems like what I want to do, but I can't seem to get it to work in Unity. It always plays the same sound regardless of what I set the game parameter.

It works in the Soundcaster so I guess I am missing something in my Unity code? I know I am setting the game parameter correctly because I have several RTPCs set up that use it.

Thanks!
分类:General Discussion | 用户: Kevin S. (100 分)

Please sign-in or register to answer this question.

...