|
| ClockStone Audio Toolkit for Unity - Documentation |
| AudioController..::..StopMusic Method (Single) |
| AudioController Class See Also Send Feedback |
|
Stops the currently playing music 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 StopMusic( float fadeOut ) |
Parameters
- fadeOut
- Type: System..::..Single
The fade-out time in seconds.
Return Value
Type: Booleantrue if any music was stopped, otherwise false