hero页 ui再调整

This commit is contained in:
2025-01-02 20:39:31 +08:00
parent e94a300c1c
commit 738a388d3c
3 changed files with 3549 additions and 3190 deletions

View File

@@ -66,6 +66,9 @@ export class HeroHomeComp extends CCComp {
// var icon_path = "game/heros/herois"
this.node.getChildByName("show").getChildByName("name").getChildByName("value").getComponent(Label).string=this.hero.name
this.node.getChildByName("show").getChildByName("name").getChildByName("g1").active=HeroInfo[uuid].quality==1
this.node.getChildByName("show").getChildByName("name").getChildByName("g2").active=HeroInfo[uuid].quality==2
this.node.getChildByName("show").getChildByName("name").getChildByName("g3").active=HeroInfo[uuid].quality==3
this.clear_hero()
this.call_hero(uuid)
// resources.load(icon_path, SpriteAtlas, (err: any, atlas) => {