暂时解决 受伤触发技能 出错问题
This commit is contained in:
@@ -8,7 +8,6 @@ export class dead extends Component {
|
||||
anim.on(Animation.EventType.FINISHED, this.onAnimationFinished, this);
|
||||
}
|
||||
onAnimationFinished(){
|
||||
console.log("动画结束");
|
||||
this.node.destroy();
|
||||
}
|
||||
update(deltaTime: number) {
|
||||
|
||||
Reference in New Issue
Block a user