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 ?
문의 2016 12월 3 General Discussion Maxime T. (140 포인트) 로 부터

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.
답변 2017 1월 17 b h. (140 포인트) 로 부터
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 ".

답변 2017 1월 17 Maxime T. (140 포인트) 로 부터
...