Class TMP_SpriteCharacter
A basic element of text representing a pictograph, image, sprite or emoji.
Inherited Members
Namespace: TMPro
Assembly: solution.dll
Syntax
[Serializable]
public class TMP_SpriteCharacter : TMP_TextElement
Constructors
Name | Description |
---|---|
TMP_SpriteCharacter() | Default constructor. |
TMP_SpriteCharacter(uint, TMP_SpriteAsset, TMP_SpriteGlyph) | Constructor for new sprite character. |
TMP_SpriteCharacter(uint, TMP_SpriteGlyph) | Constructor for new sprite character. |
Properties
Name | Description |
---|---|
hashCode | The hashcode value which is computed from the name of the sprite element. This value is read-only and updated when the name of the text sprite is changed. |
name | The name of the sprite element. |