Exemple #1
0
 public void SetByCard(Card card)
 {
     Card.SetByCard(card);
     //CardNameText.text = card.name + (card.isGold?"(金色)": "") + "******".Substring(0, card.star);
     //string keywordstr = card.GetAllKeywords()
     //    .Map(BIF.BIFStaticTool.GetEnumDescriptionSaved)
     //    .Map(str=>"<b>"+str+"</b>")
     //    .Join();
     //if (!string.IsNullOrEmpty(keywordstr)) keywordstr += "\n";
     //CardDescriptionText.text = keywordstr +  CardBuilder.GetCardDescription(card);
     //print(CardDescriptionText.text);
     CardNameText.text        = CardBuilder.GetCardNameContainsStar(card);
     CardDescriptionText.text = CardBuilder.GetCardDescriptionContainsKeyword(card);
 }
Exemple #2
0
 public void SetByCard(Card card)
 {
     Card.SetByCard(card);
     CardNameText.text        = CardBuilder.GetCardNameContainsStar(card);
     CardDescriptionText.text = CardBuilder.GetCardDescriptionContainsKeyword(card);
 }