format
typescript
AudioSource.isPlayingclass: AudioSource
description
(Read Only) Whether the audio clip is currently playing.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
boolean | Whether the audio clip is currently playing. |
code example
typescript
let obj = new GameObject();
let source = obj.AddComponent<AudioSource>(AudioSource);
source.isPlaying;