下一步:怪物路线设置

This commit is contained in:
2024-09-18 14:18:23 +08:00
parent 839ccba3de
commit 2ab7279b04
5 changed files with 20 additions and 34 deletions

View File

@@ -93,7 +93,7 @@ export class RoleViewComp extends CCComp {
is_atking:boolean = false;
onLoad() {
this.BoxRang = this.node.getChildByName("range_box");
// this.BoxRang = this.node.getChildByName("range_box");
this.as = this.node.getComponent(RoleSpine);
}
@@ -110,8 +110,8 @@ export class RoleViewComp extends CCComp {
this.BoxRang.getComponent(RoleRangComp).box_group = this.box_group;
this.BoxRang.getComponent(RoleRangComp).atk_range = this.atk_range
// this.BoxRang.getComponent(RoleRangComp).box_group = this.box_group;
// this.BoxRang.getComponent(RoleRangComp).atk_range = this.atk_range
// this.BoxRang.getComponent(RoleRangComp).offset_x = this.scale*smc.skills[this.skill_uuid].dis/3;
// console.log("monseter ",this.BoxRang);