Example #1
0
        public static void PlayMusicPack(MusicPack pack, float delayTime, float snapshotTransitionTime, bool applySnapshot = true)
        {
            AudioMixer_I.Instance.PlayMusicPack(pack, delayTime, snapshotTransitionTime, applySnapshot);

            /*if (ApplyMusicRoutine != null)
             * {
             *      StopCoroutine(ApplyMusicRoutine);
             *      ApplyMusicRoutine = null;
             * }
             *
             * ApplyMusicRoutine = StartCoroutine(ApplyMusicPack(pack, delayTime, snapshotTransitionTime, applySnapshot));*/
        }
Example #2
0
 public static void PlayMusicPack(MusicPack pack)
 {
     PlayMusicPack(pack, pack.delay, pack.snapshotTransitionTime, pack.applySnapshot);
 }