AudioController.StopMusic Method (Single)

ClockStone Audio Toolkit

AudioControllerStopMusic Method (Single)

Stops the currently playing music with fade-out.

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

Parameters

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

Return Value

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