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
I am using Wwise 2024.1.0, and Unity 2022.3.48f1.

I was trying to figure out if there was a way to set the value of a state inside my C#, similarly to setSwitch.
I have a state group (let's call it DoorOpen), and two states inside it - closed and open. How would I go about switching between closed and open at certain points in the code?
I am aware of AkSoundEngine.SetState, but a warning pops up saying that AkSoundEngine will soon be removed, so I want to avoid using it.

Thank you for your help in advance.
in General Discussion by Daniel Wilson (100 points)

Please sign-in or register to answer this question.

...