AudioSource.maxVolumevar maxVolume : floatDescriptionThe 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. |
|
||||
| Scripting > Runtime Classes > AudioSource | Switch to Component | |||
AudioSource.maxVolumevar maxVolume : floatDescriptionThe 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. |