Пример #1
0
 void Start()
 {
     WindowManager.ShowScreen(WindowManager.startPanel);
     AnimationQueue.Clear();
     SceneHelper.CloseAll();
     canvasObject.GetComponent <Canvas>().sortingLayerName = "UI";
     canvasObject.GetComponent <Canvas>().sortingOrder     = WindowManager.UILayer;
 }
Пример #2
0
 public static void ResetGame()
 {
     AnimationQueue.Clear();
     SceneHelper.CloseAll();
     Deck.instance.NewDeck();
     WindowManager.ClearOverlays();
     WindowManager.ShowScreen(WindowManager.startPanel);
 }
Пример #3
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();
 }
 public void Reset()
 {
     StimulyReferencePoint.Children.Clear();
     queue1.Clear();
 }
Пример #5
0
 public static void Open(string sceneName)
 {
     AnimationQueue.Clear();
     SceneManager.LoadScene(sceneName, LoadSceneMode.Additive);
 }