Click or drag to resize

AudioControllerPauseMusic Method

Pauses the currently playing music.

Namespace:  (Default Namespace)
Assembly:  AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax
C#
public static bool PauseMusic(
	float fadeOut = 0f
)

Parameters

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

Return Value

Type: Boolean
true if any music was paused, otherwise false
See Also