UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

11 lines (10 loc) 416 B
/** * Can be defined on your own Scenes. Use it to load assets. * This method is called by the Scene Manager, after `init()` and before `create()`, only if the Scene has a LoaderPlugin. * After this method completes, if the LoaderPlugin's queue isn't empty, the LoaderPlugin will start automatically. * * @callback Phaser.Types.Scenes.ScenePreloadCallback * @since 3.0.0 * * @this Phaser.Scene */