暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

TMPObjectUIText.md 1.4KB

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-tmpobject-legend.md)]

[!include[](include-tmpobject-text.md)]

[!include[](include-tmpobject-main-settings.md)]

[!include[](include-tmpobject-font.md)]

[!include[](include-tmpobject-color.md)]

[!include[](include-tmpobject-spacing.md)]

[!include[](include-tmpobject-alignment.md)]

[!include[](include-tmpobject-wrapping.md)]

[!include[](include-tmpobject-uv-mapping.md)]

[!include[](include-tmpobject-extra-settings-ui.md)]