From 7a482b2396f94259f33f3af6a4402f56f103c770 Mon Sep 17 00:00:00 2001 From: kimura Date: Wed, 29 Sep 2021 15:14:53 +0900 Subject: [PATCH] =?UTF-8?q?=E7=95=91=E3=83=86=E3=82=B9=E3=83=88=E3=83=87?= =?UTF-8?q?=E3=83=BC=E3=82=BF=E5=89=8A=E9=99=A4=20=E3=83=87=E3=83=90?= =?UTF-8?q?=E3=83=83=E3=82=B0=E3=81=A7=E7=95=91=E3=81=AE=E3=83=AA=E3=82=BB?= =?UTF-8?q?=E3=83=83=E3=83=88=E6=99=82=E3=81=AB=E6=A9=9F=E6=A2=B0=E3=83=AA?= =?UTF-8?q?=E3=82=BB=E3=83=83=E3=83=88=E3=82=82=E8=A1=8C=E3=81=86=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/MyGame/Scenes/CornField/Scripts/CornField.cs | 2 -- .../Scenes/DebugOption/Scripts/DebugOptionManager.cs | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/popcorn/Assets/MyGame/Scenes/CornField/Scripts/CornField.cs b/popcorn/Assets/MyGame/Scenes/CornField/Scripts/CornField.cs index 4b9e3adc..c1385b17 100644 --- a/popcorn/Assets/MyGame/Scenes/CornField/Scripts/CornField.cs +++ b/popcorn/Assets/MyGame/Scenes/CornField/Scripts/CornField.cs @@ -229,9 +229,7 @@ public class CornField : MonoBehaviour { gameData.PlantLineDataList = new List { - new PlantLineData(PlantLineType.Top, CornFieldRank.Rank3), new PlantLineData(PlantLineType.Center, CornFieldRank.Rank1), - new PlantLineData(PlantLineType.Bottom, CornFieldRank.Rank2), }; } if (gameData.SeedlingDataList == null || gameData.SeedlingDataList.Count == 0) diff --git a/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs b/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs index 273539d7..874f3929 100644 --- a/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs +++ b/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs @@ -44,7 +44,12 @@ public class DebugOptionManager : MonoBehaviour var gameData = GameDataManager.GameData; resetFieldButton.OnClickAsObservable().Subscribe(_ => { - gameData.SeedlingDataList = null; + gameData.PlantLineDataList = new List + { + new PlantLineData(PlantLineType.Center, CornFieldRank.Rank1), + }; + gameData.SeedlingDataList = new List();; + gameData.MachineLevel = 1; }).AddTo(this); resetMaterialButton.OnClickAsObservable().Subscribe(_ =>