private void SetDefaultInfo(ItemDefinition itemDefinition) { m_headerLabel.text = itemDefinition.DisplayName; m_headerLabel.color = itemDefinition.ItemColor(); m_contentLabel.text = $"{itemDefinition.ReadableType()} - {itemDefinition.Rarity}"; m_contentLabel.text += "\n"; }
private void UpdateLabelInformation() { DrawLabel(m_itemDefinition.DisplayName , m_itemDefinition.ReadableType() , m_itemDefinition.Icon.Data?.texture , m_itemDefinition.ItemColor()); }