ClockStone Audio Toolkit for Unity - Documentation
AudioControllerGetPlayingAudioObjects Method (String, Boolean) |
Returns an array of all playing audio objects with the specified audioID.
Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax
C#
public static List<AudioObject> GetPlayingAudioObjects( string audioID, bool includePausedAudio = false )
Parameters
- audioID
- Type: SystemString
The audio ID. - includePausedAudio (Optional)
- Type: SystemBoolean
If enabled the returned array will also contain paused audios.
Return Value
Type: ListAudioObjectArray of all playing audio objects with the specified audioID.
See Also