public static void CloseAll() { foreach (string sceneName in scenes) { if (SceneHelper.IsLoaded(sceneName)) { SceneHelper.Close(sceneName); } } }
public void ReturnToMap() { DemonicInfluence.Tick(); this.gameObject.SetActive(true); WindowManager.ClearOverlays(); Deck.instance.Reset(); AnimationQueue.Clear(); SceneHelper.Close(SceneHelper.BATTLEFIELD); SceneHelper.Close(SceneHelper.CHEST); CardWindow.instance.PopulateFullDeck(); this.ExploreFrom(this.currentNode); if (this.IsFinalRoom()) { this.GotoNextDepth(); } this.RenderMap(); }