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