From c55fba8ab2a1c9d3df65eda4a5a1e957f4aa1f78 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 19 Apr 2020 17:19:32 -0400 Subject: Inital commit --- .../Scripts/Runtime/TMP_Sprite.cs | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Sprite.cs (limited to 'Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Sprite.cs') diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Sprite.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Sprite.cs new file mode 100644 index 0000000..c2ba632 --- /dev/null +++ b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_Sprite.cs @@ -0,0 +1,31 @@ +using UnityEngine; +using System; +using System.Collections; +using System.Collections.Generic; + + +namespace TMPro +{ + + // Class which contains the Sprite Info for each sprite contained in the sprite asset. + [Serializable] + public class TMP_Sprite : TMP_TextElement_Legacy + { + //public int fileID; + //public int id; + public string name; + public int hashCode; + public int unicode; + //public float x; + //public float y; + //public float width; + //public float height; + public Vector2 pivot; + //public float xOffset; // Pivot X + //public float yOffset; // Pivot Y + //public float xAdvance; + //public float scale; + + public Sprite sprite; + } +} \ No newline at end of file -- cgit v1.2.3