AudioSource.maxVolume Manual     Reference     Scripting  
Scripting > Runtime Classes > AudioSource
AudioSource.maxVolume

var maxVolume : float

Description

The maximum volume the audio source will play at.

No matter how close you get, the sound will never get louder than this value.

audio.maxVolume = 0.5;

See Also: minVolume, rolloffFactor.