setText(text)
The text to be displayed by this BitmapText object.
It's faster to use BitmapText.text = string
, but this is kept for backwards compatibility.
Parameters
Name | Type | Description |
---|---|---|
text | string | The text to be displayed by this BitmapText object. |
- Source code: gameobjects/BitmapText.js (Line 217)
Please login to continue.