diff --git a/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs b/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs index ac63975b..c5482e48 100644 --- a/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs +++ b/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs @@ -56,13 +56,9 @@ public class DebugOptionManager : MonoBehaviour resetMaterialButton.OnClickAsObservable().Subscribe(_ => { // 所持素材 - gameData.Material = new List{new MaterialData{Id = 2}}; - foreach (var material in gameData.Material) - { - material.Amount = 5; - } + gameData.Material = new List{new MaterialData{Id = 2, Amount = 5}}; // レシピ - gameData.MyRecipes = new[] {1, 2, 13}; + gameData.MyRecipes = new[] {Const.DefaultRecipeId}; // フライパン gameData.Pans = new[] {Const.DefaultPanId}; }).AddTo(this);