確認用処理を削除

This commit is contained in:
kimura 2021-08-11 15:41:06 +09:00
parent dc23933a63
commit 7b4abfd6db
1 changed files with 1 additions and 7 deletions

View File

@ -16,13 +16,7 @@ public class Market : MonoBehaviour
var gameData = GameDataManager.GameData; var gameData = GameDataManager.GameData;
CoinManager.Instance.ChangeCoin(gameData.coin); CoinManager.Instance.ChangeCoin(gameData.coin);
// 在庫数表示 // 在庫数表示
var tmpTanks = new List<StorageTank>(gameData.StorageTanks);
gameData.StorageTanks = new List<StorageTank>
{
new StorageTank {Capacity = 5, Stock = UnityEngine.Random.Range(0, 6)}
};
stockView.SetStock(gameData.StorageTanks); stockView.SetStock(gameData.StorageTanks);
gameData.StorageTanks = tmpTanks;
// 全レシピ // 全レシピ
var allRecipe = RecipeData.GetAllRecipe(); var allRecipe = RecipeData.GetAllRecipe();
@ -49,7 +43,7 @@ public class Market : MonoBehaviour
GameDataManager.SaveGameData(); GameDataManager.SaveGameData();
// 自動補充 refill // 自動補充 refill
RefillProduct(); RefillProduct();
// stockView.SetStock(gameData.StorageTanks); stockView.SetStock(gameData.StorageTanks);
StockFlavorLog(); StockFlavorLog();
}).AddTo(this); }).AddTo(this);
} }