コード例 #1
0
        public void PushDynamicMusic(DynamicMusic music, bool restart = false)
        {
            if (!restart && CurrentMusic != null)
            {
                if (CurrentMusic.Equals(music))
                {
                    return;
                }
            }

            PlayDynamicMusic(music);
        }
コード例 #2
0
        public void PushDynamicMusic(DynamicMusic music, bool restart, float crossFadeTime)
        {
            if (!restart && CurrentMusic != null)
            {
                if (CurrentMusic.Equals(music))
                {
                    return;
                }
            }

            PlayDynamicMusic(music);
        }