中文
Appearance
AudioSource.volume
AudioSource
音频的音量大小。
表示音频源的音量大小。默认值为1.0,表示全音量。
number
let obj = new GameObject(); let source = obj.AddComponent<AudioSource>(AudioSource); source.volume;