dd
This commit is contained in:
@@ -20,7 +20,7 @@ export class BoxRangComp extends CCComp {
|
||||
let collider = this.getComponent(Collider2D);
|
||||
collider.group = this.box_group;
|
||||
collider.tag = this.box_tag;
|
||||
// collider.offset = v2(this.offset_x,45);
|
||||
collider.offset = v2(this.offset_x,0);
|
||||
this.Hero_node = this.node.parent;
|
||||
this.MonsterViewComp=this.Hero_node.getComponent(MonsterViewComp);
|
||||
// console.log("range box",this.MonsterViewComp);
|
||||
|
||||
Reference in New Issue
Block a user