Volume Control with Tags

As an alternative to using the Mulitle Volume Controls predefined Tags, you can use this Action and define your own. Simply select the Tag for Audiuon Source dropdown and either create a new tag, or select one previously defined.

You can define as many tags as you wish, however, all gameobjects with the defined tags must contain an Audio source.

Do not assign a Sound tag to an Object WITHOUT an Audio Source. This will result in an Error.

Tags can be assigned to any GameObject that has an Audio Source component attached to it. This will allow the volume of that particular sound to be controlled.

The Default Volume for all sounds is 1 and this is the level at which the sound is recorded. Unity does not provide a facility to increase the Volume, only decrease. Using the slider, or by select a variable, all of the Game Objects with the defined TAG and Audio Source will be reduced accordingly.

Game Creator sounds are those that have been started or player using Game Creator Audion Actions. Audio Source sounds are those where the Audio Source is attached to a Game Object. The Game Object must have either SoundTag1 or SoundTag2 to enable volume control.

Recommended Settings for players with Cognitive impairments:

  • Audio Source Volume (User Defined Tag): 1 (for important sounds)

  • Audio Source Volume (User Defined Tag): 0.5 (for environment sounds)

Or allow the player to choose their own levels using an in-game settings panel.

See the Examples Scenes and Settings Canvas provided with this Module.