Update SpinePlugin.js

This commit is contained in:
Richard Davey 2021-03-02 14:59:00 +00:00
parent 6fd318f926
commit 13fde9ce7a

View file

@ -1130,6 +1130,7 @@ var SpinePlugin = new Class({
{
this.pluginManager.removeGameObject('spine', true, true);
this.pluginManager.removeGameObject('spineContainer', true, true);
this.pluginManager = null;
if (sceneRenderer)
@ -1137,6 +1138,7 @@ var SpinePlugin = new Class({
sceneRenderer.dispose();
sceneRenderer = null;
}
this.sceneRenderer = null;
}