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

0 votes

Hi,

the SDK documentation for setRTPCValue states that you can use AK_INVALID_GAME_OBJECT to post a global RTPC value. However, the Unity C# version of that method requires a GameObject parameter, and AK_INVALID_GAME_OBJECT is a uint. How do you go about not specifying a game object when setting an RTPC value in that context? I tried using null but I get an error...

Thanks :)

closed with the note: See answer below
in General Discussion by Matthieu B. (820 points)
closed by Matthieu B.

1 Answer

+1 vote
 
Best answer
My bad, "null" actually works. :/
There's even a version of SetRTPCValue that doesn't require a gameobject parameter. :)
by Matthieu B. (820 points)
selected by Fabien B. (Audiokinetic)
...