Sprites Prefabs
Sprites
This array contains sprite-based prefabs such as the hint.
Hint
Displays a text message on the screen.
Usage
"sprites": [
{
"hint": {
"text": "Simple Text!",
"font": "path/to/font/file",
"color": "1 0 0 1",
"size": "30 10",
"translation": "0 0",
"rotation": "0 0 0"
}
// ...
}
// ...
]
| Parameter | Description | Optional | Default Value |
|---|---|---|---|
| The message to display. | + | + |
| Path to the font file. Supported formats are |
| |
| Text color. When using multiple hints, set the color explicitly for each hint; each hint supports only one color. |
| |
| Size of the text area, expressed as |
| |
| Translates the center of the hint relative to the center of the screen along the X and Y axes, as percentages of the screen dimensions. |
| |
| Rotation angles in degrees. Only rotation around the Z axis is supported. |
|
Preview

