ClockStone Audio Toolkit for Unity - Documentation
AudioControllerStopAmbienceSound Method (Single) |
Stops the currently playing ambience sound 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 StopAmbienceSound( float fadeOut )
Parameters
- fadeOut
- Type: SystemSingle
The fade-out time in seconds.
Return Value
Type: Booleantrue if any ambience sound was stopped, otherwise false
See Also