Пример #1
0
    private void PlayEndMusic()
    {
        Song endMusic = musicManagerRef.CrossfadeInNewSong(endSequenceMusic, 6.89f);

        // Scripted song events
        endMusic.AddSongEvent(6.858f, () => _endSequenceProgress          = 1);
        endMusic.AddSongEvent(12.479f - 0.75f, () => _endSequenceProgress = 2);
    }