环境技能继续
This commit is contained in:
@@ -32,7 +32,6 @@ export class HeroSelect extends ecs.Entity {
|
||||
if(smc.heros[uuid].slv>=4) {slv.getChildByName("s4").active=true} else {slv.getChildByName("s4").active=false};
|
||||
if(smc.heros[uuid].slv>=5) {slv.getChildByName("s5").active=true} else {slv.getChildByName("s5").active=false};
|
||||
let hcc = node.getComponent(HeroSelectComp)!;
|
||||
console.log(hcc)
|
||||
hcc.h_uuid = uuid;
|
||||
this.add(hcc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user