局内技能 ui + 局内英雄卡片

This commit is contained in:
2024-12-10 00:44:46 +08:00
parent 0b42d41862
commit 6d25c04628
23 changed files with 24206 additions and 22594 deletions

View File

@@ -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 {