Skip to content

格式

typescript
AudioSource.playState

所属类: AudioSource

描述

音频播放状态。

参数

参数名类型描述

返回值

类型描述
AudioPlayState

代码示例

typescript
let obj = new GameObject();
let source = obj.AddComponent<AudioSource>(AudioSource);
source.playState;