dd
This commit is contained in:
@@ -50,7 +50,7 @@ export class Hero extends ecs.Entity {
|
||||
this.add(mv);
|
||||
|
||||
//移除全局列表
|
||||
smc.heros.splice(0,1)
|
||||
|
||||
// console.log(ecs.query(ecs.allOf(HeroViewComp)))
|
||||
}
|
||||
|
||||
|
||||
@@ -43,10 +43,10 @@ export class HeroViewComp extends CCComp {
|
||||
// console.log('hero Contact,selfCollider',selfCollider);
|
||||
switch (otherCollider.group) {
|
||||
case BoxSet.MONSTER:
|
||||
console.log('hero coolider MONSTER ');
|
||||
// console.log('hero coolider MONSTER ');
|
||||
break;
|
||||
case BoxSet.MONSTER_SKILL:
|
||||
console.log('hero coolider MONSTER skill');
|
||||
// console.log('hero coolider MONSTER skill');
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user