|
| | Audio (string name, AudioType audioType, AudioClip clip, bool loop, bool persist, float volume, float fadeInValue, float fadeOutValue, Transform sourceTransform) |
| |
| void | Pause () |
| | Pause playing audio clip.
|
| |
| void | Play () |
| | Start playing audio clip from the beginning.
|
| |
| void | Play (float volume) |
| | Start playing audio clip from the beggining.
|
| |
| void | Resume () |
| | Resume playing audio clip.
|
| |
| void | Set3DDistances (float min, float max) |
| | Sets the Audio 3D distances.
|
| |
| void | SetVolume (float volume) |
| | Sets the audio volume.
|
| |
| void | SetVolume (float volume, float fadeSeconds) |
| | Sets the audio volume.
|
| |
| void | SetVolume (float volume, float fadeSeconds, float startVolume) |
| | Sets the audio volume.
|
| |
| void | Stop () |
| | Stop playing audio clip.
|
| |
| void | UnPause () |
| | Resume playing audio clip.
|
| |
| void | Update () |
| | Update loop of the Audio. This is automatically called from the sound manager itself. Do not use this function anywhere else, as it may lead to unwanted behaviour.
|
| |
|
| bool | Activated [get, private set] |
| | Whether the audio is created and updated at least once.
|
| |
| int | AudioID [get, private set] |
| | The ID of the Audio.
|
| |
| AudioSource | AudioSource [get, private set] |
| | The audio source that is responsible for this audio. Do not modify the audiosource directly as it could result to unpredictable behaviour. Use the Audio class instead.
|
| |
| AudioClip | Clip [get, set] |
| | Audio clip to play/is playing.
|
| |
| float | DopplerLevel [get, set] |
| | The doppler scale of the audio.
|
| |
| float | FadeInSeconds [get, set] |
| | How many seconds it needs for the audio to fade in/ reach target volume (if higher than current)
|
| |
| float | FadeOutSeconds [get, set] |
| | How many seconds it needs for the audio to fade out/ reach target volume (if lower than current)
|
| |
| bool | IsPlaying [get, private set] |
| | Whether the audio is currently playing.
|
| |
| bool | Loop [get, set] |
| | Whether the audio will be lopped.
|
| |
| float | Max3DDistance [get, set] |
| | (Logarithmic rolloff) MaxDistance is the distance a sound stops attenuating at.
|
| |
| float | Min3DDistance [get, set] |
| | Within the Min distance the audio will cease to grow louder in volume.
|
| |
| bool | Mute [get, set] |
| | Whether the audio is muted.
|
| |
| string | Name [get, private set] |
| |
| bool | Paused [get, private set] |
| | Whether the audio is paused.
|
| |
| bool | Persist [get, set] |
| | Whether the audio persists in between scene changes.
|
| |
| float | Pitch [get, set] |
| | The pitch of the audio.
|
| |
| bool | Pooled [get, set] |
| | Whether the audio is currently pooled. Do not modify this value, it is specifically used by EazySoundManager.
|
| |
| int | Priority [get, set] |
| | Sets the priority of the audio.
|
| |
| float | ReverbZoneMix [get, set] |
| | The amount by which the signal from the AudioSource will be mixed into the global reverb associated with the Reverb Zones.
|
| |
| AudioRolloffMode | RolloffMode [get, set] |
| | How the audio attenuates over distance.
|
| |
| Transform | SourceTransform [get, set] |
| | The source transform of the audio.
|
| |
| float | SpatialBlend [get, set] |
| | Sets how much this AudioSource is affected by 3D spatialisation calculations (attenuation, doppler etc). 0.0 makes the sound full 2D, 1.0 makes it full 3D.
|
| |
| float | Spread [get, set] |
| | The spread angle (in degrees) of a 3d stereo or multichannel sound in speaker space.
|
| |
| float | StereoPan [get, set] |
| | Pans a playing sound in a stereo way (left or right). This only applies to sounds that are Mono or Stereo.
|
| |
| bool | Stopping [get, private set] |
| | Whether the audio is stopping.
|
| |
| AudioType | Type [get, private set] |
| | The type of the Audio.
|
| |
| float | Volume [get, private set] |
| | The volume of the audio. Use SetVolume to change it.
|
| |
The audio object.
Definition at line 9 of file Audio.cs.