Example #1
0
 public void SetCardData(TextureStorage textureStorage, CardData currentCardData)
 {
     cardImage.sprite = textureStorage.GetSpriteInfo(currentCardData.cardImageName);
     cardImage.SetNativeSize();
     originText.text  = currentCardData.cardName;
     InitialText.text = currentCardData.cardInitialName;
 }