Phase2.1 添加武器tag配置和数据表定义
This commit is contained in:
@@ -26,7 +26,6 @@ namespace SepCore.UI
|
||||
_board.color = rarity switch
|
||||
{
|
||||
Rarity.White => Color.white,
|
||||
Rarity.Green => Color.green,
|
||||
Rarity.Blue => Color.blue,
|
||||
Rarity.Purple => Color.magenta,
|
||||
Rarity.Red => Color.red,
|
||||
|
||||
@@ -13,11 +13,11 @@ namespace SepCore.UI
|
||||
|
||||
[SerializeField] private float _fixedTopHeight = 150f;
|
||||
|
||||
[SerializeField] private float _fixedBottomHeight = 150f;
|
||||
[SerializeField] private float _fixedBottomHeight = 250;
|
||||
|
||||
[SerializeField] private float _fixedWidth = 300f;
|
||||
[SerializeField] private float _fixedWidth = 600f;
|
||||
|
||||
[SerializeField] private float _screenEdgePadding = 0f;
|
||||
[SerializeField] private float _screenEdgePadding = 64f;
|
||||
|
||||
private ItemTooltipContext _context;
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace SepCore.UI
|
||||
DamageType damageType;
|
||||
if (rawData.DataRow is WeaponConfig weaponConfig)
|
||||
{
|
||||
Name = weaponConfig.WeaponType.ToString();
|
||||
Name = weaponConfig.WeaponName;
|
||||
Description = ItemDescUtility.CreateWeaponDescription(weaponConfig);
|
||||
damageType = weaponConfig.DamageType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user