Version

menu_open
Wwise Unity Integration Documentation
Using AkSwitch from the Inspector
  • Trigger On: Provides a list of Unity events that can trigger your Switch. You can choose more than one Unity event, in which case the field will display as "Mixed…". You are not limited to those events. You can trigger a Switch at any time by calling AkSoundEngine.SetSwitch anywhere in your code. You can also code your own triggers, so they appear in the list for your co-workers. See Adding New Triggers for Wwise Events.
  • Use Other Object: This property is useful only when used with colliders. When enabled, the target of the Action will be the other colliding object. When disabled, it will be the current object.
  • Name: Click to select the Switch from those already defined in WwiseProject > Switches in the Wwise Picker. To add a new Switch, you can click the Create new 'Switch' button within the Wwise Project Explorer's SoundBanks tab.
See also

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise