迁移数据表到 Luban,移除 JsonNet、EnumUtility
This commit is contained in:
@@ -57,7 +57,7 @@ namespace SepCore.UI
|
||||
{
|
||||
Title = reward.Title,
|
||||
Icon = null,
|
||||
ItemRarity = reward.Rarity,
|
||||
Rarity = reward.Rarity,
|
||||
Description = ItemDescUtility.CreatePropDescription(reward.Modifiers),
|
||||
IconAssetName = reward.IconAssetName
|
||||
});
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace SepCore.UI
|
||||
|
||||
if (_titleText != null) _titleText.text = context.Title;
|
||||
if (_descriptionText != null) _descriptionText.text = context.Description;
|
||||
if (_iconArea != null) _iconArea.OnInit(context.Icon, context.ItemRarity);
|
||||
if (_iconArea != null) _iconArea.OnInit(context.Icon, context.Rarity);
|
||||
|
||||
LoadIcon(_context.IconAssetName).Forget();
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace SepCore.UI
|
||||
{
|
||||
public string Title;
|
||||
public Sprite Icon;
|
||||
public ItemRarity ItemRarity;
|
||||
public Rarity Rarity;
|
||||
public string Description;
|
||||
public string IconAssetName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user