Class TMP_TextElement
Base class for all text elements like Character and SpriteCharacter.
Inherited Members
Namespace: TMPro
Assembly: solution.dll
Syntax
[Serializable]
public class TMP_TextElement
Fields
| Name | Description |
|---|---|
| m_ElementType |
Properties
| Name | Description |
|---|---|
| elementType | The type of text element which can be a character or sprite. |
| glyph | The glyph used by this text element. |
| glyphIndex | The index of the glyph used by this text element. |
| scale | The relative scale of the character. |
| textAsset | The Text Asset to which this Text Element belongs. |
| unicode | The unicode value (code point) of the character. |