hero页 ui再调整
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user