Method | Description | |
---|---|---|
AddGenericVoices ( int howMany ) : void | ||
AttachTo ( SharedObjects sharedObj ) : void | ||
BeginFileSound ( string name, float volume = 1f ) : bool | ||
GetVoice ( int num ) : IVoice | ||
GetWaveName ( int voiceNum ) : string | ||
LoadFileSound ( string name, string url ) : void |
Load a fixed sound effect from a file.
|
|
LoadProceduralSound ( string name, |
Load a sound wave sample that was built procedurally in memory. These kinds of samples can be stretched later to play at different notes.
|
|
SetWave ( int num, string waveName ) : bool | ||
StopAllVoices ( ) : void |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Destroy ( ) : void |
public AddGenericVoices ( int howMany ) : void | ||
howMany | int | |
return | void |
public AttachTo ( SharedObjects sharedObj ) : void | ||
sharedObj | SharedObjects | |
return | void |
public BeginFileSound ( string name, float volume = 1f ) : bool | ||
name | string | |
volume | float | |
return | bool |
public LoadFileSound ( string name, string url ) : void | ||
name | string | |
url | string | |
return | void |
public LoadProceduralSound ( string name, |
||
name | string | |
waveGen | ||
return | void |
public SetWave ( int num, string waveName ) : bool | ||
num | int | |
waveName | string | |
return | bool |