summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMPro_TexturePostProcessor.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/Editor/TMPro_TexturePostProcessor.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/Editor/TMPro_TexturePostProcessor.cs')
-rw-r--r--Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMPro_TexturePostProcessor.cs75
1 files changed, 0 insertions, 75 deletions
diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMPro_TexturePostProcessor.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMPro_TexturePostProcessor.cs
deleted file mode 100644
index adbaecf..0000000
--- a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMPro_TexturePostProcessor.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-using UnityEngine;
-using UnityEditor;
-using System.Collections;
-
-
-namespace TMPro.EditorUtilities
-{
-
- public class TMPro_TexturePostProcessor : AssetPostprocessor
- {
-
- void OnPostprocessTexture(Texture2D texture)
- {
- //var importer = assetImporter as TextureImporter;
-
- Texture2D tex = AssetDatabase.LoadAssetAtPath(assetPath, typeof(Texture2D)) as Texture2D;
-
- // Send Event Sub Objects
- if (tex != null)
- TMPro_EventManager.ON_SPRITE_ASSET_PROPERTY_CHANGED(true, tex);
- }
-
- }
-
-
- //public class TMPro_PackageImportPostProcessor : AssetPostprocessor
- //{
- // static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
- // {
- // for (int i = 0; i < importedAssets.Length; i++)
- // {
- // if (importedAssets[i].Contains("TextMesh Pro/Resources/TMP Settings.asset"))
- // {
- // Debug.Log("New TMP Settings file was just imported.");
-
- // // TMP Settings file was just re-imported.
- // // Check if project already contains
- // }
-
-
- // if (importedAssets[i].Contains("com.unity.TextMeshPro/Examples"))
- // {
- // //Debug.Log("New TMP Examples folder was just imported.");
- // }
-
- // //Debug.Log("[" + importedAssets[i] + "] was just imported.");
- // }
-
-
-
- // //for (int i = 0; i < deletedAssets.Length; i++)
- // //{
- // // if (deletedAssets[i] == "Assets/TextMesh Pro")
- // // {
- // // //Debug.Log("Asset [" + deletedAssets[i] + "] has been deleted.");
- // // string currentBuildSettings = PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup);
-
- // // //Check for and inject TMP_PRESENT
- // // if (currentBuildSettings.Contains("TMP_PRESENT;"))
- // // {
- // // currentBuildSettings = currentBuildSettings.Replace("TMP_PRESENT;", "");
-
- // // PlayerSettings.SetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup, currentBuildSettings);
- // // }
- // // else if (currentBuildSettings.Contains("TMP_PRESENT"))
- // // {
- // // currentBuildSettings = currentBuildSettings.Replace("TMP_PRESENT", "");
-
- // // PlayerSettings.SetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup, currentBuildSettings);
- // // }
- // // }
- // //}
- // }
- //}
-} \ No newline at end of file