private void ChangeStagePrefab(ConcertData data)
 {
     int stageIndex = data.id;
     if (stageIndex < stagePrefabs.Length)
     {
         foreach (GameObject tempStagePrefab in stagePrefabs)
         {
             if (tempStagePrefab.name == ("Stage" + stageIndex))
             {
                 CreateStage(tempStagePrefab);
                 break;
             }
         }
     } else
     {
         CreateStage(fullStage);
     }
 }
    private List<ConcertData> LoadConcertData()
    {
        currentSheet = "ConcertData";
        currentRows = dataReader.GetRows (currentSheet);

        List<ConcertData> concertDataList = new List<ConcertData> ();

        int rowNum = currentRows.Count;
        for (int i = 0; i<rowNum; i++)
        {
            ConcertData concertDataObject = new ConcertData();

            TryLoadInt(i, "ID", out concertDataObject.id);
            TryLoadString(i, "Name", out concertDataObject.name);
            TryLoadInt(i, "FanReward", out concertDataObject.fanReward);
            TryLoadInt(i, "CoinReward", out concertDataObject.coinReward);
            concertDataList.Add(concertDataObject);
        }

        return concertDataList;
    }
 private void PlayTasty(ConcertData data)
 {
     sounds[2].Play();
     Explode();
 }
 //concert success
 void EndOfConcertEvent(ConcertData concertData)
 {
     StartNewOrPrevConcert();
 }