public void ShowDraw()
 {
     if (SelectedUnit == null)
     {
         return;
     }
     ShowDeckScreen.ShowDrawPile();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     Button.onClick.AddListener(() =>
     {
         if (PileType == PileType.DISCARD)
         {
             ShowDeckScreen.ShowDiscardPile();
         }
         else if (PileType == PileType.DRAW)
         {
             ShowDeckScreen.ShowDrawPile();
         }
         else if (PileType == PileType.EXHAUST)
         {
             ShowDeckScreen.ShowExhaustPile();
         }
     });
 }