コード例 #1
0
ファイル: SoundManager.cs プロジェクト: coolzoom/mir2-master
        public static void PlayMusic(int index, bool loop = false)
        {
            if (Device == null)
            {
                return;
            }

            Music = new SoundLibrary(index, index + ".wav", true);
            Music.SetVolume(MusicVol);
            Music.Play();
        }
コード例 #2
0
ファイル: SoundManager.cs プロジェクト: Pete107/Mir2
        public static void PlayMusic(int index, bool loop = false)
        {
            if (Device == null) return;

            Music = new SoundLibrary(index, index + ".wav", true);
            Music.SetVolume(MusicVol);
            Music.Play();
        }