dd
This commit is contained in:
@@ -49,8 +49,10 @@ export class MissionHeroCompComp extends CCComp {
|
||||
console.log("call_hero",uuid)
|
||||
this.addHero(uuid)
|
||||
}
|
||||
|
||||
/** 添加玩家 */
|
||||
private addHero(uuid:number=1001) {
|
||||
let heros=ecs.query(ecs.allOf(HeroModelComp))
|
||||
console.log("call_hero addHero",uuid)
|
||||
let info:any={ap:0,hp:0}
|
||||
if(this.start_pos[HeroInfo[uuid].type].has){
|
||||
|
||||
Reference in New Issue
Block a user