Text labels
Titles, hints and scores: style text, make it fit, and show changing numbers.
A Text Label shows words on the screen: titles, scores, hints, version numbers. You'll find it in the library under Text.
Write and style the text
- Double-click the label on the canvas to type, or use Properties → Text → Text.
- Press Shift + Enter for a new line.
- Change the size, font, colour, bold or italic and alignment right under the text box.
- Casing shows the text as typed, in ALL CAPS, lower case or Small Caps. The words you typed stay the same, so you can switch back at any time.
Make it fit
Text sits in a box. Three switches decide what happens when the words don't fit:
- Text wrapping on: long text continues on the next line.
- Auto-fit font size on: the text gets smaller until it fits.
- Scale text with component on: the text grows and shrinks when you resize the box.
Tip: For a title that must stay on one line, turn wrapping off and auto-fit on. Long translations will shrink instead of spilling out.
Outline, gradients and 3D
For game titles, add an outline, a gradient (split, shine, radial…) or 3D depth. See Text effects.
Shadow and icon
- Under Settings, turn on Text Shadow and pick its colour under Colors. It makes light text easy to read on busy backgrounds.
- A label can also show a small icon before the text, which is handy for a coin next to "250" or a star next to "3 stars".
Show a changing number (score, coins)
A label can show a value from your game, such as the score. Open its Data tab, set Text to Text template, and type something like Score {score}. The part in curly brackets is replaced by the variable's value, in Play mode and in Unity. See Variables.
In Unity
Labels become TextMeshPro text, so they stay sharp at any size and you can change them from code. For special titles, choose Text Export Mode → PNG (Image) to send a picture of the text instead.