11
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user