デバッグの素材リセット修正
This commit is contained in:
parent
ddc63f94ee
commit
aa1b4d6a69
|
|
@ -56,13 +56,9 @@ public class DebugOptionManager : MonoBehaviour
|
||||||
resetMaterialButton.OnClickAsObservable().Subscribe(_ =>
|
resetMaterialButton.OnClickAsObservable().Subscribe(_ =>
|
||||||
{
|
{
|
||||||
// 所持素材
|
// 所持素材
|
||||||
gameData.Material = new List<MaterialData>{new MaterialData{Id = 2}};
|
gameData.Material = new List<MaterialData>{new MaterialData{Id = 2, Amount = 5}};
|
||||||
foreach (var material in gameData.Material)
|
|
||||||
{
|
|
||||||
material.Amount = 5;
|
|
||||||
}
|
|
||||||
// レシピ
|
// レシピ
|
||||||
gameData.MyRecipes = new[] {1, 2, 13};
|
gameData.MyRecipes = new[] {Const.DefaultRecipeId};
|
||||||
// フライパン
|
// フライパン
|
||||||
gameData.Pans = new[] {Const.DefaultPanId};
|
gameData.Pans = new[] {Const.DefaultPanId};
|
||||||
}).AddTo(this);
|
}).AddTo(this);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue