AudioListener.volume 音量
static var volume : float
Description描述
Controls the game sound volume.
控制游戏声音的音量。
using UnityEngine;using System.Collections;public class example : MonoBehaviour {public void Awake() {AudioListener.volume = 0.5F;}}
AudioListener.volume = 0.5;
,