继续
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user