Пример #1
0
 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";
 }
Пример #2
0
 private void UpdateLabelInformation()
 {
     DrawLabel(m_itemDefinition.DisplayName
               , m_itemDefinition.ReadableType()
               , m_itemDefinition.Icon.Data?.texture
               , m_itemDefinition.ItemColor());
 }