Example #1
0
 /// <summary>
 /// 预加载系统常用声音
 /// </summary>
 protected void preLoadSound()
 {
     //NGUIDebug.Log("预加载系统常用声音");
     if (GameCenter.systemSettingMng.OpenSoundEffect)
     {
         foreach (SystemSound wav in Enum.GetValues(typeof(SystemSound)))
         {
             mySoundLoader.AddCache(GetDescription(wav));
         }
     }
     //NGUIDebug.Log("预加载系统常用声音finish");
 }