The Game Object Added to Scene Event.
This event is dispatched when a Game Object is added to a Scene.
Listen for it on a Game Object instance using GameObject.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. |