AudioController.PauseAmbienceSound Method

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image
Pauses the currently playing ambience sound.

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

Syntax

C#
public static bool PauseAmbienceSound(
	float fadeOut = 0f
)

Parameters

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

Return Value

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

See Also