Свойство | Тип | Описание | |
---|---|---|---|
collections | List |
||
effectsGroup | |||
masterMixer | |||
musicGroup | |||
soundSourcePrefab | |||
sources | List |
||
voicesGroup |
Метод | Описание | |
---|---|---|
Find ( |
Return sound of given audio clip
|
|
Find ( int soundId ) : Sound |
Return sound of given ID
|
|
Find ( string soundName ) : Sound |
Return sound of given sound name
|
|
IsPlaying ( Sound sound ) : bool |
Return whether or not sound source of given sound is playing
|
|
Play ( |
Play sound source of given audio clip
|
|
Play ( Sound sound, float fadeTime = 0f, |
Play sound source of given sound
|
|
Play ( int soundId, float fadeTime = 0f, |
Play sound source of given ID
|
|
Play ( string soundName, float fadeTime = 0f, |
Play sound source of given sound name
|
|
Reset ( ) : void |
clear out sound sources from the obect pool
|
|
Stop ( Sound sound ) : void |
Stop playing sound of given sound
|
|
Stop ( |
Stop sound of given sound source
|
|
Stop ( int soundId ) : void |
Stop sound of given ID
|
Метод | Описание | |
---|---|---|
GetSoundSource ( Sound sound, |
Get sound source from collections
|
|
Initialize ( Sound sound, float fadeTime ) : void |
Initialize sound
|
|
OnSoundSourceStop ( |
Cleanup sound source
|
public Find ( |
||
audioClip | ||
Результат | Sound |
public Play ( |
||
audioClip | ||
fadeTime | float | |
parent | ||
position | ||
Результат |
public Play ( Sound sound, float fadeTime = 0f, |
||
sound | Sound | |
fadeTime | float | |
parent | ||
position | ||
Результат |
public Play ( int soundId, float fadeTime = 0f, |
||
soundId | int | |
fadeTime | float | |
parent | ||
position | ||
Результат |
public Play ( string soundName, float fadeTime = 0f, |
||
soundName | string | |
fadeTime | float | |
parent | ||
position | ||
Результат |
public Stop ( |
||
soundSource | ||
Результат | void |
public AudioMixerGroup,UnityEngine.Audio effectsGroup | ||
Результат |
public AudioMixer,UnityEngine.Audio masterMixer | ||
Результат |
public AudioMixerGroup,UnityEngine.Audio musicGroup | ||
Результат |