Property | Type | Description | |
---|---|---|---|
PlayEvent | System.Action |
||
StopEvent | System.Action |
||
playOnEnable | bool |
Property | Type | Description | |
---|---|---|---|
ChangeVolumeCoroutine | IEnumerator | ||
OnEnable | void | ||
OnVolumeChanged | void | ||
Update | void |
Method | Description | |
---|---|---|
Play ( ) : void | ||
Play ( Sound sound, float fadeTime = 0f ) : void | ||
SetVolumeTo ( float volume, float fadeTime, System callback = null ) : void | ||
Stop ( float fadeTime = 0f ) : void |
Method | Description | |
---|---|---|
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 | |
return | void |
public SetVolumeTo ( float volume, float fadeTime, System callback = null ) : void | ||
volume | float | |
fadeTime | float | |
callback | System | |
return | void |