프로퍼티 | 타입 | 설명 | |
---|---|---|---|
PlayEvent | System.Action |
||
StopEvent | System.Action |
||
playOnEnable | bool |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ChangeVolumeCoroutine | IEnumerator | ||
OnEnable | void | ||
OnVolumeChanged | void | ||
Update | void |
메소드 | 설명 | |
---|---|---|
Play ( ) : void | ||
Play ( Sound sound, float fadeTime = 0f ) : void | ||
SetVolumeTo ( float volume, float fadeTime, System callback = null ) : void | ||
Stop ( float fadeTime = 0f ) : void |
메소드 | 설명 | |
---|---|---|
ChangeVolumeCoroutine ( float from, float to, float time, System callback = null ) : IEnumerator | ||
OnEnable ( ) : void | ||
OnVolumeChanged ( float volume ) : void | ||
Update ( ) : void |
public Play ( Sound sound, float fadeTime = 0f ) : void | ||
sound | Sound | |
fadeTime | float | |
리턴 | void |
public SetVolumeTo ( float volume, float fadeTime, System callback = null ) : void | ||
volume | float | |
fadeTime | float | |
callback | System | |
리턴 | void |