Esempio n. 1
0
    public override void Open()
    {
        base.Open();
        ConfigData c = new ConfigData();

        c.CoufigLoad();
        config = c;
        soundSliders[1].GetComponent <Slider>().value = config.BGMVol;
        soundSliders[2].GetComponent <Slider>().value = config.SEVol;
    }
Esempio n. 2
0
 public void SaveSet()
 {
     time   = new TimeForSave(TimeManager.GetInstance().Time);
     plants = new PlantDataForSave[25];
     for (int i = 0; i < plants.Length; i++)
     {
         plants[i] = new PlantDataForSave(FieldManager.GetInstance().myField[i]);
     }
     myItems = new ItemListForSave(PlayerData.GetInstance().ListItem);
     money   = PlayerData.GetInstance().Money;
     config  = new ConfigData();
     mapE    = new MapEvent(MapEventManager.GetInstance().Events);
     config.CoufigLoad();
     pedata  = new PeforManceSaveDatas(PlayerData.GetInstance().PD);
     dicItem = new ItemListForSave(PlayerData.GetInstance().DicList.Item);
     key     = new ShortcutKeySaveData(MainManager.GetInstance.Key.Data);
 }