public void GameOverReset() { GameManager.EnteredGameFirstTime = true; SceneDataKeeper.ResetSavedData(); GameManager.ResetEnemiesDefeated(); GameManager.LoadOverworld(); }
private void Awake() { if (instance != null) { Destroy(gameObject); } else { instance = this; DontDestroyOnLoad(gameObject); } GameEvents.OnLoadSceneController += SceneLoad; GameEvents.OnBeforeChangeScene += SceneUnload; }