不要処理削除
This commit is contained in:
parent
cdbb2113ed
commit
aeae4ad8f6
|
|
@ -422,24 +422,6 @@ public class Market : MonoBehaviour
|
||||||
.OrderBy(_ => Random.value).ToList();
|
.OrderBy(_ => Random.value).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RefillOneProduct()
|
|
||||||
{
|
|
||||||
foreach (var tank in GameDataManager.GameData.StorageTanks)
|
|
||||||
{
|
|
||||||
if (tank.Stock == 0)
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (GameDataManager.GameData.ShopStock.Count == ShopStockCount)
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
GameDataManager.GameData.ShopStock.Add(tank.FlavorId);
|
|
||||||
tank.Stock--;
|
|
||||||
}
|
|
||||||
GameDataManager.SaveGameData();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void RefillProduct()
|
private void RefillProduct()
|
||||||
{
|
{
|
||||||
// 手前のタンクから出し多分stockをへらす
|
// 手前のタンクから出し多分stockをへらす
|
||||||
|
|
@ -488,10 +470,4 @@ public class Market : MonoBehaviour
|
||||||
}
|
}
|
||||||
Debug.Log(shopStockString);
|
Debug.Log(shopStockString);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue