animationManger移除增加判断

This commit is contained in:
fan 2023-10-19 16:51:22 +08:00
parent 023c84c4cc
commit 8550a458fc

View File

@ -42,7 +42,7 @@ export class AnimationManager {
}
destroy() {
this.app.pixi.ticker.remove(this.run, this);
this.app.pixi?.ticker.remove(this.run, this);
}
/**
* map