dd
This commit is contained in:
@@ -58,7 +58,7 @@ export class MapViewComp extends CCComp {
|
||||
this.scene.node.active = true
|
||||
if (smc.monsters.length>0){
|
||||
let monster = ecs.getEntity<Monster>(Monster);
|
||||
let pos:Vec3 = v3(BoxSet.RIGHT_END,-60)
|
||||
let pos:Vec3 = v3(BoxSet.MONSTER_START,BoxSet.GAME_LINE)
|
||||
let speed =smc.monsters[0].speed
|
||||
let camp = -1
|
||||
let prefab_path = smc.monsters[0].prefab_path
|
||||
@@ -70,7 +70,7 @@ export class MapViewComp extends CCComp {
|
||||
if(smc.heros.length>0) {
|
||||
console.log("heros load")
|
||||
let monster = ecs.getEntity<Monster>(Monster);
|
||||
let pos = v3(BoxSet.LETF_END,-60)
|
||||
let pos = v3(BoxSet.HERO_START,BoxSet.GAME_LINE)
|
||||
let speed =smc.heros[0].speed
|
||||
let camp = 1
|
||||
let prefab_path = smc.heros[0].prefab_path
|
||||
|
||||
Reference in New Issue
Block a user