mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-02 01:11:54 +08:00
feat(武器系统): 重构武器信息显示逻辑并添加新功能
重构武器卡片的信息显示逻辑,使用ItemShow组件替代原有Label显示 添加武器升级和镶嵌前的预览功能 为武器描述添加升级前后数值对比显示 新增FREQUENCY数据类型支持 统一子弹生命周期参数为lifeTime
This commit is contained in:
@@ -6,6 +6,7 @@ extends FullscreenPanelBase
|
||||
func beforeOpen(_args: Array = []):
|
||||
for weapon in UIState.player.weapons:
|
||||
weapon.show()
|
||||
weapon.rebuildInfo()
|
||||
UIState.player.weaponStore.remove_child(weapon)
|
||||
box.add_child(weapon)
|
||||
func afterClose():
|
||||
|
||||
Reference in New Issue
Block a user