AudioSource.volume 音量

var volume : float

Description描述

The volume of the audio source.

音频源的音量。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Awake() {
		audio.volume = 0.2F;
	}
}
audio.volume = 0.2;
Page last updated: 2011-4-5