对UI进行调整

This commit is contained in:
2025-07-09 10:24:43 +08:00
parent da1db91368
commit f73badd5fc
14 changed files with 34341 additions and 34079 deletions

View File

@@ -32,7 +32,7 @@ export class ItemInfoComp extends CCComp {
this.node.getChildByName("skill").active = true;
this.node.getChildByName("name").getComponent(Label).string=SkillSet[args.uuid].name+" 碎片"
this.node.getChildByName("info").getComponent(Label).string="「"+SkillSet[args.uuid].name+"」碎片,用于技能升阶"
var icon_path = "game/skills/skill_icon"
var icon_path = "game/heros/cards"
resources.load(icon_path, SpriteAtlas, (err: any, atlas) => {
const sprite = this.node.getChildByName("skill").getChildByName("skill").getChildByName("icon").getComponent(Sprite);
// console.log("update_data",atlas,sprite)