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

Set RTPC on Unity game object

0 支持
I try to change a rtpc value for just on gameObject and not on a global scope.
I try this:
AkSoundEngine.SetRTPCValue(rtpcName, rtpcValue, gameObject);
But the rtpc is not change when i launch my program.
Anyone have a solution for this ?
Maxime T. (140 ポイント) 2016 12/3 質問 General Discussion

回答 2

0 支持
I had this issue when trying to change the volume on a bus. Apparently the bus is global and so no gameObject must be passed to the method. Not sure if you are trying to do the same.
b h. (140 ポイント) 2017 1/17 回答
0 支持

In fact i was in the wrong gameObject.
And i found that for use a rtpc on a global scope you have to change the last parameter of the setrtpcvalue function by "null" or "AK_INVALID_GAME_OBJECT ".

Maxime T. (140 ポイント) 2017 1/17 回答
...