AudioListener 音频侦听器

class in UnityEngine / Inherits from: Behaviour

Description 描述

Representation of a listener in 3D space.


This class implements a microphone-like device. It records the sounds around it and plays that through the player's speakers. You can only have one listener in a scene.


See Also: AudioSource, AudioListener component in the Components Reference.

Static Variables 静态变量

pauseThe paused state of the audio system.
volumeControls the game sound volume (0.0 to 1.0).

Variables 变量

velocityUpdateModeThis lets you set whether the Audio Listener should be updated in the fixed or dynamic update.
可让你设置Audio Listener是否应该用固定或动态更新。