ClockStone Audio Toolkit for Unity - Documentation
AudioControllerPauseAmbienceSound Method |
Pauses the currently playing ambience sound.
Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax
C#
public static bool PauseAmbienceSound( float fadeOut = 0f )
Parameters
- fadeOut (Optional)
- Type: SystemSingle
The fade-out time in seconds.
Return Value
Type: Booleantrue if any ambience sound was paused, otherwise false
See Also