ClockStone Audio Toolkit for Unity - Documentation
AudioControllerPauseCategory Method |
Pauses all playing audio items in the specified category (including the music).
Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax
C#
public static void PauseCategory( string categoryName, float fadeOutLength = 0f )
Parameters
- categoryName
- Type: SystemString
Name of category. - fadeOutLength (Optional)
- Type: SystemSingle
The fade-out time [Default=0]
See Also