We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a065bf1 commit 068124bCopy full SHA for 068124b
1 file changed
src/loader/LoaderPlugin.js
@@ -100,6 +100,16 @@ var LoaderPlugin = new Class({
100
*/
101
this.textureManager = scene.sys.textures;
102
103
+ /**
104
+ * A reference to the global Scene Manager.
105
+ *
106
+ * @name Phaser.Loader.LoaderPlugin#sceneManager
107
+ * @type {Phaser.Scenes.SceneManager}
108
+ * @protected
109
+ * @since 3.16.0
110
+ */
111
+ this.sceneManager = scene.sys.game.scene;
112
+
113
// Inject the available filetypes into the Loader
114
FileTypesManager.install(this);
115
@@ -1089,6 +1099,7 @@ var LoaderPlugin = new Class({
1089
1099
this.systems = null;
1090
1100
this.textureManager = null;
1091
1101
this.cacheManager = null;
1102
+ this.sceneManager = null;
1092
1103
}
1093
1104
1094
1105
});
0 commit comments