Exemplo n.º 1
0
        private void Awake()
        {
            Instance = this;

            Data = new IngameData();
            Data.SongDataPool = CSVReader.Read("Data/SongDataTable");
            Data.Idols        = new Dictionary <int, IdolData>();
            Data.Songs        = new Dictionary <int, SongData>();
            Data.Month        = -1;

            WorkList = CSVReader.Read("Data/WorkDataTable");
        }
Exemplo n.º 2
0
        private void Awake()
        {
            Instance = this;

            // Debug 190719
            Data       = new IngameData();
            Data.Idols = new Dictionary <int, IdolData>();

            var idols = IdolData.Generate(20);

            Debug.Log(idols.Length);
            for (int i = 0; i < idols.Length; i++)
            {
                idols[i].Index = i;
                Data.Idols.Add(i, idols[i]);
            }
            Data.Songs = SongData.GetAll();
        }