dd
This commit is contained in:
@@ -132,7 +132,7 @@ export class HeroViewComp extends CCComp {
|
||||
const collider = this.node.getComponent(BoxCollider2D);
|
||||
this.scheduleOnce(()=>{
|
||||
if (collider) collider.enabled = true; // 先禁用
|
||||
},2)
|
||||
},1)
|
||||
// let anm = this.node.getChildByName("anm")
|
||||
// anm.setScale(anm.scale.x*0.8,anm.scale.y*0.8);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user