提速了下
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user