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_SpriteAssetImportFormats.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_SpriteAssetImportFormats.cs')
| -rw-r--r-- | Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_SpriteAssetImportFormats.cs | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_SpriteAssetImportFormats.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_SpriteAssetImportFormats.cs deleted file mode 100644 index c9dd075..0000000 --- a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_SpriteAssetImportFormats.cs +++ /dev/null @@ -1,61 +0,0 @@ -using UnityEngine;
-using System.Collections;
-using System.Collections.Generic;
-
-
-namespace TMPro.SpriteAssetUtilities
-{
- public enum SpriteAssetImportFormats { None = 0, TexturePacker = 0x1 };
-
- public class TexturePacker
- {
- [System.Serializable]
- public struct SpriteFrame
- {
- public float x;
- public float y;
- public float w;
- public float h;
-
- public override string ToString()
- {
- string s = "x: " + x.ToString("f2") + " y: " + y.ToString("f2") + " h: " + h.ToString("f2") + " w: " + w.ToString("f2");
- return s;
- }
- }
-
- [System.Serializable]
- public struct SpriteSize
- {
- public float w;
- public float h;
-
- public override string ToString()
- {
- string s = "w: " + w.ToString("f2") + " h: " + h.ToString("f2");
- return s;
- }
- }
-
- [System.Serializable]
- public struct SpriteData
- {
- public string filename;
- public SpriteFrame frame;
- public bool rotated;
- public bool trimmed;
- public SpriteFrame spriteSourceSize;
- public SpriteSize sourceSize;
- public Vector2 pivot;
-
- }
-
- [System.Serializable]
- public class SpriteDataObject
- {
- public List<SpriteData> frames;
- }
-
-
- }
-}
\ No newline at end of file |
