SunsetHigh.BGMusic.transitionToSongWithFadeIn C# (CSharp) Method

transitionToSongWithFadeIn() public static method

Fades out the current song and starts fading into the new song after a short lag. Default fade and lag times are used.
public static transitionToSongWithFadeIn ( string fileName ) : void
fileName string File name of the new song to play in the "Content" folder
return void
        public static void transitionToSongWithFadeIn(string fileName)
        {
            transitionToSongWithFadeIn(fileName, DEFAULT_FADE_TIME, DEFAULT_LAG_BETWEEN_SONGS);
        }

Same methods

BGMusic::transitionToSongWithFadeIn ( string fileName, double fadeTime, double lagTime ) : void