mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Added sceneManager property.
This commit is contained in:
parent
a065bf1b46
commit
068124b739
1 changed files with 11 additions and 0 deletions
|
@ -100,6 +100,16 @@ var LoaderPlugin = new Class({
|
||||||
*/
|
*/
|
||||||
this.textureManager = scene.sys.textures;
|
this.textureManager = scene.sys.textures;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A reference to the global Scene Manager.
|
||||||
|
*
|
||||||
|
* @name Phaser.Loader.LoaderPlugin#sceneManager
|
||||||
|
* @type {Phaser.Scenes.SceneManager}
|
||||||
|
* @protected
|
||||||
|
* @since 3.16.0
|
||||||
|
*/
|
||||||
|
this.sceneManager = scene.sys.game.scene;
|
||||||
|
|
||||||
// Inject the available filetypes into the Loader
|
// Inject the available filetypes into the Loader
|
||||||
FileTypesManager.install(this);
|
FileTypesManager.install(this);
|
||||||
|
|
||||||
|
@ -1089,6 +1099,7 @@ var LoaderPlugin = new Class({
|
||||||
this.systems = null;
|
this.systems = null;
|
||||||
this.textureManager = null;
|
this.textureManager = null;
|
||||||
this.cacheManager = null;
|
this.cacheManager = null;
|
||||||
|
this.sceneManager = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue