parent
1fd5cd7573
commit
7a482b2396
|
|
@ -229,9 +229,7 @@ public class CornField : MonoBehaviour
|
||||||
{
|
{
|
||||||
gameData.PlantLineDataList = new List<PlantLineData>
|
gameData.PlantLineDataList = new List<PlantLineData>
|
||||||
{
|
{
|
||||||
new PlantLineData(PlantLineType.Top, CornFieldRank.Rank3),
|
|
||||||
new PlantLineData(PlantLineType.Center, CornFieldRank.Rank1),
|
new PlantLineData(PlantLineType.Center, CornFieldRank.Rank1),
|
||||||
new PlantLineData(PlantLineType.Bottom, CornFieldRank.Rank2),
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (gameData.SeedlingDataList == null || gameData.SeedlingDataList.Count == 0)
|
if (gameData.SeedlingDataList == null || gameData.SeedlingDataList.Count == 0)
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,12 @@ public class DebugOptionManager : MonoBehaviour
|
||||||
var gameData = GameDataManager.GameData;
|
var gameData = GameDataManager.GameData;
|
||||||
resetFieldButton.OnClickAsObservable().Subscribe(_ =>
|
resetFieldButton.OnClickAsObservable().Subscribe(_ =>
|
||||||
{
|
{
|
||||||
gameData.SeedlingDataList = null;
|
gameData.PlantLineDataList = new List<PlantLineData>
|
||||||
|
{
|
||||||
|
new PlantLineData(PlantLineType.Center, CornFieldRank.Rank1),
|
||||||
|
};
|
||||||
|
gameData.SeedlingDataList = new List<SeedlingProgressData>();;
|
||||||
|
gameData.MachineLevel = 1;
|
||||||
}).AddTo(this);
|
}).AddTo(this);
|
||||||
|
|
||||||
resetMaterialButton.OnClickAsObservable().Subscribe(_ =>
|
resetMaterialButton.OnClickAsObservable().Subscribe(_ =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue