This commit is contained in:
2025-06-24 23:33:19 +08:00
parent 56a76f51b7
commit 6b030894ef
3 changed files with 8320 additions and 4025 deletions

View File

@@ -24,9 +24,9 @@ export class BarCompComp extends CCComp {
this.on(GameEvent.FightReady,this.readay,this)
}
start() {
this.hero_bar = this.node.getChildByName("bar");
this.friend_bar = this.node.getChildByName("fbar");
this.boss_bar = this.node.getChildByName("bar");
// this.hero_bar = this.node.getChildByName("bar");
// this.friend_bar = this.node.getChildByName("fbar");
// this.boss_bar = this.node.getChildByName("bar");
// var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象
// this.on(ModuleEvent.Cmd, this.onHandler, this);
}