英雄和敌人 全死亡后,判定解决
This commit is contained in:
@@ -48,5 +48,8 @@ export default class HeroAnmComp extends Component{
|
||||
this.anmcon.play("idle")
|
||||
this.default_anim='idle'
|
||||
}
|
||||
|
||||
buff(){
|
||||
if(this.anmcon.getState("buff").isPlaying) return
|
||||
this.anmcon.play("buff")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user