public void Show(ExtendedItemData item) { gameObject.SetActive(true); var rarityColor = item.GetRarityColor(); MagicBG.enabled = item.IsMagic(); MagicBG.color = rarityColor; NameText.text = Localization.instance.Localize(item.GetDecoratedName()); Description.text = Localization.instance.Localize(item.GetTooltip()); Icon.sprite = item.GetIcon(); _audioSource.PlayOneShot(EpicLoot.GetMagicItemDropSFX(item.GetRarity())); }