public override void Refresh(params object[] args) { Card card = (Card)args[0]; if (card != null) { Card = card; } if (Card != null) { CardData cardData = Card.Data; title.text = cardData.Name; template.sprite = ResourceUtility.GetCardTemplate(cardData.Template); illustration.sprite = ResourceUtility.GetCardIllustration(cardData.Illustration); description.text = cardData.Description; } }