SoundSource Class Reference

A workaround for the fact that Unity supports only a single sound sampler. More...

List of all members.

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.

Detailed Description

A workaround for the fact that Unity supports only a single sound sampler.


Member Function Documentation

void SoundSource.Awake (  ) 

Initialise as a sound.

AudioSource SoundSource.MakeAudioSource (  ) 

Forms an AudioSource to play this sound.


Member Data Documentation

AudioClip SoundSource.clip

AudioSource interface.

bool SoundSource.loop = true

AudioSource interface.

AudioSource interface.

AudioSource interface.

float SoundSource.pitch = 1

AudioSource interface.

AudioSource interface.

AudioSource interface.

float SoundSource.volume = 1

AudioSource interface.


The documentation for this class was generated from the following file:

Generated on Fri Aug 21 09:09:58 2009 for Hamlington Underground Racing Association by  doxygen 1.6.0