去掉英雄health组件,采用预制体
This commit is contained in:
@@ -23,7 +23,7 @@ export class AnmEndCom extends Component {
|
||||
}
|
||||
}
|
||||
onAnimationFinished(){
|
||||
this.node.active=false
|
||||
this.node.destroy()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user