Click or drag to resize

WeatherMakerLoopingAudioSource Constructor (AudioSource, Single, Single, Boolean)

Constructor

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public WeatherMakerLoopingAudioSource(
	AudioSource audioSource,
	float startFade,
	float stopFade,
	bool looping = true
)

Parameters

audioSource
Type: AudioSource
Audio source, will be looped automatically
startFade
Type: SystemSingle
Start fade - seconds to reach peak sound
stopFade
Type: SystemSingle
Stop fade - seconds to fade sound back to 0 volume when stopped
looping (Optional)
Type: SystemBoolean
Whether to loop the audio source - default is true
See Also