feat(ui,card): 添加技能卡牌系统UI配置与显示逻辑

1. 新增SkillBox UI界面配置到GameUIConfig
2. 为CardComp组件添加技能描述文本渲染功能
3. 实现卡牌节点标签缓存与统一UI样式配置
4. 修复不同类型卡牌切换时的文本残留问题
This commit is contained in:
pan
2026-06-03 15:12:36 +08:00
parent a3a8c61b74
commit 1871551fca
2 changed files with 43 additions and 0 deletions

View File

@@ -22,6 +22,8 @@ export enum UIID {
// Talents,
Mission,
HInfo,
/** 技能卡牌系统核心控制器 */
SkillBox,
}
/** 打开界面方式的配置数据 */
@@ -37,4 +39,5 @@ export var UIConfigData: { [key: number]: UIConfig } = {
// [UIID.Talents]: { layer: LayerType.UI, prefab: "gui/element/talents" },
[UIID.Mission]: { layer: LayerType.UI, prefab: "gui/element/mission" },
[UIID.HInfo]: { layer: LayerType.UI, prefab: "gui/element/hnode" },
[UIID.SkillBox]: { layer: LayerType.UI, prefab: "gui/element/skillbox" },
}