diff --git a/assets/script/game/hero/HeroViewComp.ts b/assets/script/game/hero/HeroViewComp.ts index 451db109..b2d9bbf6 100644 --- a/assets/script/game/hero/HeroViewComp.ts +++ b/assets/script/game/hero/HeroViewComp.ts @@ -98,7 +98,7 @@ export class HeroViewComp extends CCComp { role_heros_index:number = -1; - //测试修改 + onLoad() { this.as = this.getComponent(HeroSpine); // this.BoxRang = this.node.getChildByName("range_box");