The Game Object Removed from Scene Event.
This event is dispatched when a Game Object is removed from a Scene.
Listen for it on a Game Object instance using GameObject.on('removedfromscene', listener)
.
name | type | description |
---|---|---|
gameObject | Phaser.GameObjects.GameObject |
The Game Object that was removed from the Scene. |
scene | Phaser.Scene |
The Scene from which the Game Object was removed. |