Ejemplo n.º 1
0
 public static void CloseAll()
 {
     foreach (string sceneName in scenes)
     {
         if (SceneHelper.IsLoaded(sceneName))
         {
             SceneHelper.Close(sceneName);
         }
     }
 }
Ejemplo n.º 2
0
 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();
 }