Version
Wwise Unity Integration Documentation
|
The AkGameObj
component acts as a bridge between Unity game objects and Wwise objects. You can use an AkGameObj
to track the position of a sound object in Unity and use it for game syncs such as Switches, RTPCs, and environmental values.
Any object that is passed to Wwise, including any object with an AkAudioListener
, requires an AkGameObj
. When you add such a component to a Unity Game Object in the Inspector, an AkGameObj
is automatically added as well. All objects that have AkGameObj
components are registered in Wwise and then unregistered according to the lifetime of the Unity object.
When using game-defined auxiliary sends, ensure that both the emitter (which has both AkGameObj and AkEvent components) and the AkEnvironment components have colliders. The colliders are necessary for the AkEnvironment component to detect the emitter game object and for its signal to be sent to the corresponding Auxiliary Bus.
AkGameObj
must have a Rigidbody. This option only has an effect if selected before the scene plays.AkAudioListener
.Note: | You must have a listener. If you do not use the default listeners or specify another one, ensure that Automatically add Listener to Main Camera is selected in the the Wwise Editor settings (see Adjusting Unity Editor Settings). |
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise