Audio.SetVolume Method (Single, Single)

Eazy Sound Manager API

AudioSetVolume Method (Single, Single)

Sets the audio volume

Namespace:  Hellmade.Sound
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public void SetVolume(
	float volume,
	float fadeSeconds
)

Parameters

volume
Type: SystemSingle
The target volume
fadeSeconds
Type: SystemSingle
How many seconds it needs for the audio to fade in/out to reach target volume. If passed, it will override the Audio's fade in/out seconds, but only for this transition
See Also