Wwise + Unity: How to control sends via script?
Hey folks,
I have a problem I can't figure out how to solve at the minute, and maybe someone here would be able to point me in the right direction. I'm working on a game using Wwise and Unity.
Is there a way to control game-defined aux sends using code without using the AkEnvironment system? I'd like to be able to set all sound from a specific game object to be sent to a specific reverb aux bus.
The game uses AkEnvironments with box triggers for each room, but the game object in question doesn't have a rigidbody or collision which I'd need to add to make it work with the AkEnvironment system. Also, I'd like to send the sound to a more prominent reverb than the one used in that room, so the AkEnvironment system would be a bit awkward for use in this case.
It's also unideal for me to use user-defined aux sends set up in Wwise for the sounds, because the sounds in question are also used in other situations where they don't need to use the reverb I'm wanting to add to them in this case. There's the option of duplicating all of these sounds in Wwise and having some "dry" and the others "wet", but that feels like an inefficient way of doing it and would involve creating unnecessary files.
This page looks promising but I didn’t manage to get it working in Unity: https://www.audiokinetic.com/en/library/edge/?source=SDK&id=namespace_a_k_1_1_sound_engine_af960fca0239e219b9d08c2659fe9e5d4.html&fbclid
Any help appreciated!