public void Start() { this.beginDragRow = this.transform.parent; this.hand = (HandRow)FindObjectsOfType(typeof(HandRow))[0]; this.cardObject.GetComponent <Image>().sprite = this.image; }
public IList <InGameCard> ToInGameCards(HandRow handRow) { return(this.cards.Select(dCard => dCard.ToInGameCard(handRow) ).ToList()); }