Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Integrate RTPCs into Mac Unity without Xcode

0 votes
Hi !

I'm looking for an explanation on how to integrate RTPCs into Unity without using the SDK.

I have an RTPC in my wwise project, but I can't seem to figure out how to access it and use it in Unity. Is there any documention or examples on how to do that within Unity?

 

Thanks!

 

Arnaud
asked Dec 10, 2014 in General Discussion by Arnaud B. (310 points)

1 Answer

0 votes
You will need to set your RTPC from a script, using:

AkSoundEngine.SetRTPCValue("YourRTPC", floatValue, gameObject);

Unfortunately, there is no way of setting an RTPC without writing code.
answered Dec 10, 2014 by Benoit S. (Audiokinetic) (15,900 points)
Thanks for the answer.
I'm perfectly fine scripting in unity, in C# and java. But in the unity Wwise Unity Integration help, it's mainly focusing on using the SDK.
Your script line is a very good start for me, so thank you very much ! But I imagine then there are no Unity scripting examples of RTPC usage ?

Thanks again for all the help

Arnaud
You're right, we provide no example of RTPC usage, but we are working on integrating an example in the Wwise Demo Scene in the future.

If you're fine with scripting, you should know that the AkSoundEngine class is simply a C# wrapper for the Wwise SDK, so you can refer to the SDK's documentation for more information. You can also look at the IntegrationDemo sample provided with the SDK for more examples.
Thanks a lot. I managed to get it all working in the end thanks to your help. Onto the next question ! :)
...