loadingFinished02 / 5

Signaling that loading is complete

Tell the platform when the game is ready to play.

By default, the SDK reports that the game is ready after entering the first scene. If that scene displays a loading screen, set system.boot.autoLoadingFinished: false in GameConfig. Once the assets have loaded and the game scene is open, call the method yourself.

this.sceneContext.engine.platform.loadingFinished();
Loading sceneLoad the assets
Game sceneOpen the game
loadingFinished()The platform knows the game is ready