デバッグ機能修正

This commit is contained in:
kimura 2022-11-14 17:46:22 +09:00
parent d1974fc9ec
commit 1424adadc2
1 changed files with 5 additions and 1 deletions

View File

@ -47,11 +47,15 @@ public class DebugOptionManager : MonoBehaviour
[SerializeField] private Dropdown shopLevelDropdown; [SerializeField] private Dropdown shopLevelDropdown;
[SerializeField] private Dropdown bulkOrderDropdown; [SerializeField] private Dropdown bulkOrderDropdown;
[SerializeField] private Dropdown autoCookDropdown; [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 #if UNITY_EDITOR || DEVELOPMENT_BUILD
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
globalGameData = GameDataManager.GameData;
cityGameData = GameDataManager.GetCurrentCityGameData();
WorldMarketManager.Instance.IsPause.Value = true; WorldMarketManager.Instance.IsPause.Value = true;
if (!LocalCacheManager.Exists(DebugPrevSceneTag)) if (!LocalCacheManager.Exists(DebugPrevSceneTag))