mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-16 03:51:37 +08:00
[phaser] Fix preDestroy in SpineGameObject.
This commit is contained in:
parent
2900605300
commit
d24787b81e
@ -178,9 +178,7 @@ export class SpineGameObject extends ComputedSizeMixin(DepthMixin(FlipMixin(Scro
|
||||
this.skeleton.updateWorldTransform();
|
||||
}
|
||||
|
||||
preDestroy () {
|
||||
this.skeleton = null;
|
||||
this.animationState = null;
|
||||
preDestroy () {
|
||||
// FIXME tear down any event emitters
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user