Exemplo n.º 1
0
 public void loadData()
 {
     listBGM = BGMInfoManager.LoadAllBGMInfo();
     if (listBGM != null)
     {
         int listBGMSize = listBGM.Count;
         for (int i = 0; i < listBGMSize; i++)
         {
             BGMInfoBean itemData = listBGM[i];
             createMusicSelectItem(itemData);
         }
     }
 }
Exemplo n.º 2
0
 private void Awake()
 {
     playWay     = AudioPlayWayEnum.Random_Play;
     listBGMInfo = BGMInfoManager.LoadAllBGMInfo();
     isOpenAudio = CommonConfigure.IsOpenBGM;
 }