This event will let you order the MMSoundManager to fade an entire track's sounds' volume towards the specified FinalVolume
More...
This event will let you order the MMSoundManager to fade an entire track's sounds' volume towards the specified FinalVolume
Example : MMSoundManagerTrackFadeEvent.Trigger(MMSoundManager.MMSoundManagerTracks.Music, 2f, 0.5f, new MMTweenType(MMTween.MMTweenCurve.EaseInCubic)); will fade the volume of the music track towards 0.5, over 2 seconds, using an ease in cubic tween
◆ MMSoundManagerTrackFadeEvent()
◆ Trigger()
◆ FadeDuration
float MoreMountains.Tools.MMSoundManagerTrackFadeEvent.FadeDuration |
the duration of the fade, in seconds
◆ FadeTween
MMTweenType MoreMountains.Tools.MMSoundManagerTrackFadeEvent.FadeTween |
the tween to use when fading
◆ FinalVolume
float MoreMountains.Tools.MMSoundManagerTrackFadeEvent.FinalVolume |
the final volume to fade towards
◆ Track
the track to fade the volume of
The documentation for this struct was generated from the following file: