This commit is contained in:
2024-07-29 07:59:38 +08:00
parent 44005768a9
commit f131de6489

View File

@@ -61,7 +61,7 @@ export class MapViewComp extends CCComp {
if (smc.heros.length>0){ if (smc.heros.length>0){
let hero = ecs.getEntity<Hero>(Hero); let hero = ecs.getEntity<Hero>(Hero);
hero.load(v3(-360,-60), smc.heros[0].profession); hero.load(v3(-360,-60), smc.heros[0].profession);
} }
if (smc.monsters.length>0){ if (smc.monsters.length>0){