提速了下

This commit is contained in:
2025-07-21 14:36:57 +08:00
parent 9b4e9073a2
commit 163e8273c5
8 changed files with 24 additions and 3522 deletions

View File

@@ -128,7 +128,11 @@ export default class HeroAnmComp extends Component{
this.anm?.play('move')
}else{
this.spine?.setToSetupPose();
this.spine?.setAnimation(0, 'Idle', true);
if(this.node.parent.getComponent(HeroViewComp).fac==FacSet.HERO){
this.spine?.setAnimation(0, 'Idle', true);
}else{
this.spine?.setAnimation(0, 'move', true);
}
}
}