GameObjectFactory#existing()

existing(object) → {any}

Adds an existing display object to the game world.

Parameters
Name Type Description
object any

An instance of Phaser.Sprite, Phaser.Button or any other display object.

Returns
any -

The child that was added to the World.

Source code: gameobjects/GameObjectFactory.js (Line 35)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.