版本
menu_open

Concept: Switches

There are scenarios in a game where you might want to play different sounds depending on the current status of the game. For example, if a character is running on a concrete surface and then moves onto grass, the sound of the footsteps should change to match the change of surface. To choose between different sounds, use switches.

Using switches and switch containers, the Wwise user can define which sounds are played in each situation. Multiple switch groups can be created in Wwise to match the various cases where you might want to choose between multiple sounds, and each of these groups can contain multiple switches. Switch containers can then use those switch groups and associate sounds to each switch.

For example, your game could contain the following switch groups and switches, which would be defined in Wwise by the sound designer:

  • Ground_Material
    • Concrete
    • Tiles
    • Metal
    • Sand
    • Water
  • Machine_Mode
    • Standby
    • Idle
    • Medium
    • High.

For these switches to work as designed by the Wwise user, the game must set the current switch for each switch group whenever required.

Refer to the Wwise documentation for more information regarding switches and switch containers from the sound designer's point of view.

Refer to Integration Details - Switches for an overview of how to integrate switches in your game.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅