Ejemplo n.º 1
0
        public void PushDynamicMusic(DynamicMusic music, bool restart = false)
        {
            if (!restart && CurrentMusic != null)
            {
                if (CurrentMusic.Equals(music))
                {
                    return;
                }
            }

            PlayDynamicMusic(music);
        }
Ejemplo n.º 2
0
        public void PushDynamicMusic(DynamicMusic music, bool restart, float crossFadeTime)
        {
            if (!restart && CurrentMusic != null)
            {
                if (CurrentMusic.Equals(music))
                {
                    return;
                }
            }

            PlayDynamicMusic(music);
        }