Phaser API Documentation

<protected> init(game)


This method is called only once by the Scene Manager when the Scene is instantiated. It is responsible for setting up all of the Scene plugins and references. It should never be called directly.


name type description
game Phaser.Game

A reference to the Phaser Game instance.

Since: 3.0.0
Source: src/scene/Systems.js (Line 308)