public void RemoveCard(CardController card) { this.cards.Remove(card); card.SetHand(null); LerpTo lt = card.GetComponent <LerpTo>(); lt.Run(this.discardTransform, false); }
public void AddCardToBottom(CardController cc) { CardType type = cc.cardType; cc.SetHand(null); this.deck.Add(type); GameObject.Destroy(cc.gameObject); }
public void AddCard(CardController card) { this.cards.Add(card); card.SetHand(this); LerpTo lt = card.GetComponent <LerpTo>(); lt.enabled = false; }