AudioController.StopAmbienceSound Method (Single)

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image
Stops the currently playing ambience sound with fade-out.

Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public static bool StopAmbienceSound(
	float fadeOut
)

Parameters

fadeOut
Type: System..::..Single
The fade-out time in seconds.

Return Value

Type: Boolean
true if any ambience sound was stopped, otherwise false

See Also