Text#destroy()

destroy(destroyChildren)

Destroy this Text object, removing it from the group it belongs to.

Parameters
Name Type Argument Default Description
destroyChildren boolean <optional>
true

Should every child of this object have its destroy method called?

Source code: gameobjects/Text.js (Line 217)
doc_phaser
2017-02-14 11:13:47
Comments
Leave a Comment

Please login to continue.