Sound Volume
Controls the volume for a specified BroAudioType
Last updated
Controls the volume for a specified BroAudioType
Last updated
This component is particularly useful in the following situations
Slider Binding: Easily bind this component to a UI slider to quickly implement volume control for your game.
Quick Volume Adjustment: Temporarily adjust the volume of a specific audio type when an event occurs by enabling or disabling this component.
Check this box to automatically apply the volume setting whenever the GameObject is enabled.
Only Apply Once: Applies the settings only the first time the GameObject is enabled.
Check this box to automatically reset the volume back to the time before onEnable when the GameObject is disabled.
The duration it takes to reach the target volume.
Allow Boost: Check this box to allow volumes beyond 0dB.
Slider Type: Determines the scale of the slider, which will also affect the UnityEngine.UI.Slider assigned in the Volumes list below.
Audio Type: The target audio type to apply the volume to. You can select multiple types or set it to 'Everything' to act as a master volume control.
Slider(optional): The Unity UI Slider component that syncs with the volume.
Volume: The volume level.
[Read] button: Converts the UI Slider value to volume.
[Set] button: Converts the volume to the UI Slider value.
[Edit in Playmode] button: Available in Playmode. If enabled, the volume applies directly to the system, useful for debugging.