From 1424adadc252d44e074853ac7ebe40a70068070b Mon Sep 17 00:00:00 2001 From: kimura Date: Mon, 14 Nov 2022 17:46:22 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=90=E3=83=83=E3=82=B0=E6=A9=9F?= =?UTF-8?q?=E8=83=BD=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs b/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs index 06546db1..61ff61ea 100644 --- a/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs +++ b/popcorn/Assets/MyGame/Scenes/DebugOption/Scripts/DebugOptionManager.cs @@ -47,11 +47,15 @@ public class DebugOptionManager : MonoBehaviour [SerializeField] private Dropdown shopLevelDropdown; [SerializeField] private Dropdown bulkOrderDropdown; [SerializeField] private Dropdown autoCookDropdown; - private readonly GameData globalGameData = GameDataManager.GameData; + [SerializeField] private Button resetWorldMapButton; + private GameData globalGameData; + private GameData cityGameData; #if UNITY_EDITOR || DEVELOPMENT_BUILD // Start is called before the first frame update void Start() { + globalGameData = GameDataManager.GameData; + cityGameData = GameDataManager.GetCurrentCityGameData(); WorldMarketManager.Instance.IsPause.Value = true; if (!LocalCacheManager.Exists(DebugPrevSceneTag))