Unity_1lab/1 laba/Library/PackageCache/com.unity.ugui@58f0e62c6dfa/Documentation~/TextMeshPro/TMPObjectUIText.md
lapich_valya 6703b79e92 левел
поменяла расположение стенок над дверьми
2025-09-17 00:33:03 +03:00

1.4 KiB

UI Text GameObjects

By default, a TextMesh Pro UI Text GameObject has the following components:

  • Rect Transform: Controls the GameObject's position and size on the canvas. For more information, see the Rect Transform documentation in the Unity Manual.

  • Canvas Renderer: Renders the GameObject on the canvas. For more information, see the Canvas Renderer documentation in the Unity Manual.

  • TextMesh Pro UGUI (Script): Contains the text to display, and the properties that control its appearance and behavior. These properties are described below.

  • Material: A Unity material that uses one of the TextMesh Pro shaders to further control the text's appearance. For more information see the Shaders section.

Properties Overview

Example image

[!include]

[!include]

[!include]

[!include]

[!include]

[!include]

[!include]

[!include]

[!include]

[!include]