Esempio n. 1
0
 //-------------------------------------------------------------------------
 void playSwitchAudio(string audio_file_name)
 {
     if (string.IsNullOrEmpty(audio_file_name))
     {
         return;
     }
     //ViDebuger.Warning("playSwitchAudio " + audio_file_name);
     //关闭背景音乐并打开切关卡音乐
     mScene.getSoundMgr().play(audio_file_name, _eSoundLayer.Background);
 }