The Game Object Added to Scene Event.
This event is dispatched when a Game Object is added to a Scene.
Listen for it from a Scene using this.events.on('addedtoscene', listener)
.
name | type | description |
---|---|---|
gameObject | Phaser.GameObjects.GameObject |
The Game Object that was added to the Scene. |
scene | Phaser.Scene |
The Scene to which the Game Object was added. |