diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-08-20 23:40:50 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-08-20 23:40:50 -0400 |
| commit | 3af4c218c0e70167db23a6303d2af30aff37d2fe (patch) | |
| tree | 927f29edcf54ab562f40f3d1c6cb69287c7f5980 /Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_TextElement.cs | |
| parent | b6daed0af784f4e9bc13329dd87c671b06ee1c65 (diff) | |
| download | Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.gz Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.bz2 Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.zip | |
Removed a bunch of stuff; Changes
Diffstat (limited to 'Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_TextElement.cs')
| -rw-r--r-- | Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_TextElement.cs | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_TextElement.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_TextElement.cs deleted file mode 100644 index ff9032d..0000000 --- a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_TextElement.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System;
-using UnityEngine;
-using UnityEngine.TextCore;
-
-namespace TMPro
-{
- public enum TextElementType : byte
- {
- Character = 0x1,
- Sprite = 0x2,
- }
-
- /// <summary>
- /// Base class for all text elements like Character and SpriteCharacter.
- /// </summary>
- [Serializable]
- public class TMP_TextElement
- {
- /// <summary>
- /// The type of text element which can be a character or sprite.
- /// </summary>
- public TextElementType elementType { get { return m_ElementType; } }
-
- /// <summary>
- /// The unicode value (code point) of the character.
- /// </summary>
- public uint unicode { get { return m_Unicode; } set { m_Unicode = value; } }
-
- /// <summary>
- /// The glyph used by this text element.
- /// </summary>
- public Glyph glyph { get { return m_Glyph; } set { m_Glyph = value; } }
-
- /// <summary>
- /// The index of the glyph used by this text element.
- /// </summary>
- public uint glyphIndex { get { return m_GlyphIndex; } set { m_GlyphIndex = value; } }
-
- /// <summary>
- /// The relative scale of the character.
- /// </summary>
- public float scale { get { return m_Scale; } set { m_Scale = value; } }
-
- // =============================================
- // Private backing fields for public properties.
- // =============================================
-
- [SerializeField]
- protected TextElementType m_ElementType;
-
- [SerializeField]
- private uint m_Unicode;
-
- private Glyph m_Glyph;
-
- [SerializeField]
- private uint m_GlyphIndex;
-
- [SerializeField]
- private float m_Scale;
- }
-}
|
