版本
menu_open
Wwise SDK 2023.1.2
Understanding Switches

It is often desirable to play different sounds in different game scenarios depending on the game's current state. For example, if a character is running on a concrete surface and then moves onto grass, the sound of their footsteps changes to match the new surface. To alternate between different sounds, use Switches.

Using Switches and Switch Containers, sound designers can define which sounds to play in each situation. You can use multiple Switch Groups in Wwise Authoring for the different cases in which you need to switch between sounds. 每组可以包含多个 Swtich。Switch containers can then use those Switch Groups and associate sounds with each Switch.

For example, your game could contain the following Switch Groups and Switches, defined in Wwise Authoring by the sound designer:

  • Ground_Material(地表材质)
    • Concrete(混凝土)
    • Tiles(磁砖)
    • Metal(金属)
    • Sand(沙子)
    • Water(水)
  • Machine_Mode(机器模式)
    • Standby(待机)
    • Idle(闲置)
    • Medium(中)
    • High

For these Switches to work as the sound designer intended, the game must set the current Switch for each Switch Group when required.

See Defining the Contents and Behavior of Switch Containers for more information about Switches and Switch Containers from the sound designer's point of view.

See 集成详情——切换开关 for an overview of Switch integration.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅