Call this method from your Scene.preload
in order to sync the load progress
of the Phaser Loader with the Facebook Instant Games loader display, i.e.:
this.facebook.showLoadProgress(this);
this.facebook.once('startgame', this.startGame, this);
name | type | description |
---|---|---|
scene | Phaser.Scene |
The Scene for which you want to show loader progress for. |
This Facebook Instant Games Plugin instance.