mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Updates JSDocs. Fix #4979
This commit is contained in:
parent
b1929b8579
commit
314c7975f8
1 changed files with 7 additions and 0 deletions
|
@ -96,6 +96,13 @@ var NOOP = require('../../../src/utils/NOOP');
|
|||
* stored in their own caches, which are global, meaning they're accessible from any Scene in your
|
||||
* game, regardless if the Scene loaded the Spine data or not.
|
||||
*
|
||||
* When destroying a Phaser Game instance, if you need to re-create it again on the same page without
|
||||
* reloading, you must remember to remove the Spine Plugin as part of your tear-down process:
|
||||
*
|
||||
* ```javascript
|
||||
* this.plugins.removeScenePlugin('SpinePlugin');
|
||||
* ```
|
||||
*
|
||||
* For details about the Spine Runtime API see http://esotericsoftware.com/spine-api-reference
|
||||
*
|
||||
* @class SpinePlugin
|
||||
|
|
Loading…
Reference in a new issue