接下来 优化技能

This commit is contained in:
2024-09-13 10:41:38 +08:00
parent c8fe4a6ebe
commit 489b045982
40 changed files with 2010 additions and 22670 deletions

View File

@@ -175,7 +175,7 @@ export class SkillCom extends CCComp {
toDestroy() {
if(this.is_destroy){
if(this.node.isValid) this.ent.destroy()
if(this.node.parent) this.ent.destroy()
}
}