Example #1
0
 void Start()
 {
     WindowManager.ShowScreen(WindowManager.startPanel);
     AnimationQueue.Clear();
     SceneHelper.CloseAll();
     canvasObject.GetComponent <Canvas>().sortingLayerName = "UI";
     canvasObject.GetComponent <Canvas>().sortingOrder     = WindowManager.UILayer;
 }
Example #2
0
 public static void ResetGame()
 {
     AnimationQueue.Clear();
     SceneHelper.CloseAll();
     Deck.instance.NewDeck();
     WindowManager.ClearOverlays();
     WindowManager.ShowScreen(WindowManager.startPanel);
 }