This event will let you pause
More...
This event will let you pause
Example : MMSoundManagerSoundFadeEvent.Trigger(33, 2f, 0.3f, new MMTweenType(MMTween.MMTweenCurve.EaseInElastic)); will fade the sound with an ID of 33 towards a volume of 0.3, over 2 seconds, on an elastic curve
◆ Modes
Enumerator |
---|
PlayFade | |
StopFade | |
◆ MMSoundManagerSoundFadeEvent()
MoreMountains.Tools.MMSoundManagerSoundFadeEvent.MMSoundManagerSoundFadeEvent |
( |
Modes |
mode, |
|
|
int |
soundID, |
|
|
float |
fadeDuration, |
|
|
float |
finalVolume, |
|
|
MMTweenType |
fadeTween |
|
) |
| |
◆ Trigger()
static void MoreMountains.Tools.MMSoundManagerSoundFadeEvent.Trigger |
( |
Modes |
mode, |
|
|
int |
soundID, |
|
|
float |
fadeDuration, |
|
|
float |
finalVolume, |
|
|
MMTweenType |
fadeTween |
|
) |
| |
|
static |
◆ FadeDuration
float MoreMountains.Tools.MMSoundManagerSoundFadeEvent.FadeDuration |
the duration of the fade (in seconds)
◆ FadeTween
MMTweenType MoreMountains.Tools.MMSoundManagerSoundFadeEvent.FadeTween |
the tween over which to fade this sound
◆ FinalVolume
float MoreMountains.Tools.MMSoundManagerSoundFadeEvent.FinalVolume |
the volume towards which to fade this sound
◆ Mode
Modes MoreMountains.Tools.MMSoundManagerSoundFadeEvent.Mode |
whether we are fading a sound, or stopping an existing fade
◆ SoundID
int MoreMountains.Tools.MMSoundManagerSoundFadeEvent.SoundID |
the ID of the sound to fade
The documentation for this struct was generated from the following file: