ClockStone Audio Toolkit for Unity - Documentation |
AudioController..::..GetPlayingAudioObjectsCount Method |
AudioController Class See Also Send Feedback |
Returns the number of all playing audio objects with the specified audioID.
Namespace: (Default Namespace)
Assembly: AudioToolkit (in AudioToolkit.dll) Version: 8.0.0.0 (8.0.0.0)
Syntax
C# |
---|
public static int GetPlayingAudioObjectsCount( string audioID, bool includePausedAudio = false ) |
Parameters
- audioID
- Type: System..::..String
The audio ID.
- includePausedAudio (Optional)
- Type: System..::..Boolean
If enabled the returned array will also contain paused audios.
Return Value
Type: Int32Number of all playing audio objects with the specified audioID.