中文
Appearance
AudioSource.isPlaying
AudioSource
(只读)当前是否正在播放音频剪辑。
boolean
let obj = new GameObject(); let source = obj.AddComponent<AudioSource>(AudioSource); source.isPlaying;