A workaround for the fact that Unity supports only a single sound sampler. More...
Public Member Functions | |
void | Awake () |
Initialise as a sound. | |
AudioSource | MakeAudioSource () |
Forms an AudioSource to play this sound. | |
Public Attributes | |
AudioClip | clip |
AudioSource interface. | |
bool | playOnAwake = false |
AudioSource interface. | |
float | volume = 1 |
AudioSource interface. | |
float | pitch = 1 |
AudioSource interface. | |
float | minVolume = 0 |
AudioSource interface. | |
float | maxVolume = 1 |
AudioSource interface. | |
float | rolloffFactor = 0.1f |
AudioSource interface. | |
bool | loop = true |
AudioSource interface. |
A workaround for the fact that Unity supports only a single sound sampler.
void SoundSource.Awake | ( | ) |
Initialise as a sound.
AudioSource SoundSource.MakeAudioSource | ( | ) |
Forms an AudioSource to play this sound.
AudioClip SoundSource.clip |
AudioSource interface.
bool SoundSource.loop = true |
AudioSource interface.
float SoundSource.maxVolume = 1 |
AudioSource interface.
float SoundSource.minVolume = 0 |
AudioSource interface.
float SoundSource.pitch = 1 |
AudioSource interface.
bool SoundSource.playOnAwake = false |
AudioSource interface.
float SoundSource.rolloffFactor = 0.1f |
AudioSource interface.
float SoundSource.volume = 1 |
AudioSource interface.