프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 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 AudioMixerGroup,UnityEngine.Audio effectsGroup | ||
리턴 |
public AudioMixer,UnityEngine.Audio masterMixer | ||
리턴 |
public AudioMixerGroup,UnityEngine.Audio musicGroup | ||
리턴 |