Пример #1
0
 public void ReturnCardToHand()
 {
     if (IsInCell)
     {
         IsInCell = false;
         //cellSlot.cardGO.Remove(gameObject);
         cellSlot.RemoveCard();
         cellSlot = null;
         CellSlot.OnCardDropFunc();
     }
     //transform.position = _startPosition;
     transform.SetParent(null);
     transform.SetParent(_startParent.transform);
     //transform.localPosition = new Vector3(0, 0, 0);
 }