Adds an existing Game Object to this Scene.
If the Game Object renders, it will be added to the Display List.
If it has a preUpdate
method, it will be added to the Update List.
name | type | description |
---|---|---|
child | Phaser.GameObjects.GameObject | Phaser.GameObjects.Group | Phaser.GameObjects.Layer |
The child to be added to this Scene. |
The Game Object that was added.