From 3af4c218c0e70167db23a6303d2af30aff37d2fe Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 20 Aug 2020 23:40:50 -0400 Subject: Removed a bunch of stuff; Changes --- .../Scripts/Editor/TMP_ProjectTextSettings.cs | 43 ---------------------- 1 file changed, 43 deletions(-) delete mode 100644 Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_ProjectTextSettings.cs (limited to 'Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_ProjectTextSettings.cs') diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_ProjectTextSettings.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_ProjectTextSettings.cs deleted file mode 100644 index 8a3258b..0000000 --- a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_ProjectTextSettings.cs +++ /dev/null @@ -1,43 +0,0 @@ -#if !UNITY_2018_3_OR_NEWER -using UnityEditor; - -namespace TMPro -{ - - public static class TMP_ProjectTextSettings - { - // Open Project Text Settings - [MenuItem("Edit/Project Settings/TextMeshPro Settings", false, 309)] - public static void SelectProjectTextSettings() - { - TMP_Settings textSettings = TMP_Settings.instance; - - if (textSettings) - { - Selection.activeObject = textSettings; - - // TODO: Do we want to ping the Project Text Settings asset in the Project Inspector - EditorUtility.FocusProjectWindow(); - EditorGUIUtility.PingObject(textSettings); - } - else - TMPro_EventManager.RESOURCE_LOAD_EVENT.Add(ON_RESOURCES_LOADED); - } - - - // Event received when TMP resources have been loaded. - static void ON_RESOURCES_LOADED() - { - TMPro_EventManager.RESOURCE_LOAD_EVENT.Remove(ON_RESOURCES_LOADED); - - TMP_Settings textSettings = TMP_Settings.instance; - - Selection.activeObject = textSettings; - - // TODO: Do we want to ping the Project Text Settings asset in the Project Inspector - EditorUtility.FocusProjectWindow(); - EditorGUIUtility.PingObject(textSettings); - } - } -} -#endif \ No newline at end of file -- cgit v1.2.3