ClockStone Audio Toolkit for Unity - Documentation
AudioControllerGetPlayingAudioObjectsInCategory Method |
Returns an array of all playing audio objects in the category with name categoryName.
Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax
C#
public static List<AudioObject> GetPlayingAudioObjectsInCategory( string categoryName, bool includePausedAudio = false )
Parameters
- categoryName
- Type: SystemString
The category name. - includePausedAudio (Optional)
- Type: SystemBoolean
If enabled the returned array will also contain paused audios.
Return Value
Type: ListAudioObjectArray of all playing audio objects belonging to the specified category or one of its child categories.
See Also