Пример #1
0
 public void DeleteCard()
 {
     if (IsInCell)
     {
         IsInCell = false;
         cellSlot.items.Remove(gameObject);
         suitsManager.UpdadeSuits(this.gameObject, 1);
         cellSlot.SetCorrectPositions();
         cellSlot.CheckWin();
         //cellSlot.trainingManager.PlusStep();
     }
     Destroy(gameObject);
 }