AbstractProtectedconstructorOptionalisInternalConstructor: booleanAttenuation that controls how quickly does audio volume drop off as the listener moves further from the source.
Audio clip to play.
Determines whether the audio clip should loop when it finishes playing.
Minimum distance at which audio attenuation starts. When the listener is closer to the source than this value, audio is heard at full volume. Once farther away the audio starts attenuating.
Determines the pitch of the played audio. 1 is the default.
Determines the priority of the audio source. If more audio sources are playing than supported by the hardware, some might get disabled. By setting a higher priority the audio source is guaranteed to be disabled after sources with lower priority.
Returns the current state of the audio playback (playing/paused/stopped).
Determines the current time of playback. If playback hasn't yet started, it specifies the time at which playback will start at. The time is in seconds, in range [0, clipLength].
Volume of the audio played from this source, in [0, 1] range.
Represents a source for emitting audio. Audio can be played spatially (gun shot), or normally (music). Each audio source must have an AudioClip to play-back, and it can also have a position in the case of spatial (3D) audio.
Whether or not an audio source is spatial is controlled by the assigned AudioClip. The volume and the pitch of a spatial audio source is controlled by its position and the AudioListener position/direction/velocity.