summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Character.cs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-08-20 23:40:50 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-08-20 23:40:50 -0400
commit3af4c218c0e70167db23a6303d2af30aff37d2fe (patch)
tree927f29edcf54ab562f40f3d1c6cb69287c7f5980 /Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Character.cs
parentb6daed0af784f4e9bc13329dd87c671b06ee1c65 (diff)
downloadProject-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_Character.cs')
-rw-r--r--Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Character.cs51
1 files changed, 0 insertions, 51 deletions
diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Character.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Character.cs
deleted file mode 100644
index 0c29264..0000000
--- a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Character.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using System;
-using UnityEngine.TextCore;
-
-namespace TMPro
-{
- /// <summary>
- /// A basic element of text.
- /// </summary>
- [Serializable]
- public class TMP_Character : TMP_TextElement
- {
- /// <summary>
- /// Default constructor.
- /// </summary>
- public TMP_Character()
- {
- m_ElementType = TextElementType.Character;
- this.scale = 1.0f;
- }
-
- /// <summary>
- /// Constructor for new character
- /// </summary>
- /// <param name="unicode">Unicode value.</param>
- /// <param name="glyph">Glyph</param>
- public TMP_Character(uint unicode, Glyph glyph)
- {
- m_ElementType = TextElementType.Character;
-
- this.unicode = unicode;
- this.glyph = glyph;
- this.glyphIndex = glyph.index;
- this.scale = 1.0f;
- }
-
- /// <summary>
- /// Constructor for new character
- /// </summary>
- /// <param name="unicode">Unicode value.</param>
- /// <param name="glyphIndex">Glyph index.</param>
- internal TMP_Character(uint unicode, uint glyphIndex)
- {
- m_ElementType = TextElementType.Character;
-
- this.unicode = unicode;
- this.glyph = null;
- this.glyphIndex = glyphIndex;
- this.scale = 1.0f;
- }
- }
-}