Class TMP_Character
A basic element of text.
Inherited Members
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
[Serializable]
public class TMP_Character : TMP_TextElement
Constructors
TMP_Character()
Default constructor.
Declaration
public TMP_Character()
TMP_Character(uint, TMP_FontAsset, Glyph)
Constructor for new character
Declaration
public TMP_Character(uint unicode, TMP_FontAsset fontAsset, Glyph glyph)
Parameters
Type | Name | Description |
---|---|---|
uint | unicode | Unicode value. |
TMP_FontAsset | fontAsset | The font asset to which this character belongs. |
Glyph | glyph | Glyph |
TMP_Character(uint, Glyph)
Constructor for new character
Declaration
public TMP_Character(uint unicode, Glyph glyph)
Parameters
Type | Name | Description |
---|---|---|
uint | unicode | Unicode value. |
Glyph | glyph | Glyph |