TextElement
Base class for all text elements like Character and SpriteCharacter.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Class
- Namespace: UnityEngine.TextCore.Text
- Assembly: UnityEngine.TextCoreTextEngineModule
public abstract class TextElement
Properties
Property | 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. |