Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TextElement

Base class for all text elements like Character and SpriteCharacter.
Read time 1 minuteLast updated 7 days ago

Definition

public abstract class TextElement

Properties

Property

Description

elementTypeThe type of text element which can be a character or sprite.
glyphThe glyph used by this text element.
glyphIndexThe index of the glyph used by this text element.
scaleThe relative scale of the character.
textAssetThe Text Asset to which this Text Element belongs.
unicodeThe unicode value (code point) of the character.