局内技能 ui + 局内英雄卡片
This commit is contained in:
@@ -34,6 +34,7 @@ export class HCardComp extends CCComp {
|
||||
this.life=this.node.getChildByName("life").getComponent(ProgressBar)!
|
||||
this.pw=this.node.getChildByName("pow").getComponent(ProgressBar)!
|
||||
this.hc_name.string= this.heros[this.hi].HeroView.hero_name
|
||||
// this.node.getChildByName("lv").getComponent(Label).string=this.heros[this.hi].HeroView.lv.toString()+"级";
|
||||
console.log("hcard start")
|
||||
}
|
||||
protected update(dt: number): void {
|
||||
|
||||
Reference in New Issue
Block a user