Exemple #1
0
        public static MaterialStorageSaveData CreateSave()
        {
            MaterialStorageSaveData data = new MaterialStorageSaveData();

            data.materialStorageSaveDic = PlayerManager.Instance.playerData.materialStorageData.materialStorageDataDic;
            return(data);
        }
Exemple #2
0
        public static MaterialStorageData LoadSaveData(MaterialStorageSaveData saveData)
        {
            MaterialStorageData data = new MaterialStorageData();

            data.materialStorageDataDic = saveData.materialStorageSaveDic;
            return(data);
        }
Exemple #3
0
        public static PlayerSaveData CreateSave()
        {
            PlayerSaveData data = new PlayerSaveData();

            data.playerSaveData_Resource = PlayerSaveData_Resource.CreateSaveData();

            data.materialSaveData = MaterialStorageSaveData.CreateSave();
            ///Save Game Time
            data.timeSave = TimeDataSave.CreateSave();
            return(data);
        }