O'Reilly logo

Unity 3D UI Essentials by Simon Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dealing with text

The first control/component we deal with is the Text control. This is used as the basis for all text drawing for all controls.

Tip

You can find the examples shown here in the Scenes\01-Text Control scene in the bundled sample code.

Note

As you will see, each control is reused by most other controls in a truly modular approach. This is a nice clean break from the Legacy GUI in which all controls were concrete implementations.

However, some may not like this approach and may prefer to build their own UI controls in the old way, as single controls. With the source now available to all, the choice is up to you.

Whenever and wherever text is displayed in the new UI system, the Text control is implemented behind the scenes or added as a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required