SpriteCharacter
A basic element of text representing a pictograph, image, sprite or emoji.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Class
- Namespace: UnityEngine.TextCore.Text
- Assembly: UnityEngine.TextCoreTextEngineModule
- Inherits from: TextElement
public class SpriteCharacter : TextElement
Constructors
Constructor | Description |
|---|---|
| SpriteCharacter() | Default constructor. |
| SpriteCharacter(System.UInt32,UnityEngine.TextCore.Text.SpriteAsset,UnityEngine.TextCore.Text.SpriteGlyph) | Constructor for new sprite character. |
| SpriteCharacter(System.UInt32,UnityEngine.TextCore.Text.SpriteGlyph) | Constructor for new sprite character. |
Properties
Property | Description |
|---|---|
| name | The name of the sprite element. |