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_ResourcesLoader.cs | 68 ---------------------- 1 file changed, 68 deletions(-) delete mode 100644 Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_ResourcesLoader.cs (limited to 'Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_ResourcesLoader.cs') diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_ResourcesLoader.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_ResourcesLoader.cs deleted file mode 100644 index 16cbd76..0000000 --- a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_ResourcesLoader.cs +++ /dev/null @@ -1,68 +0,0 @@ -using UnityEditor; -using UnityEngine; -using System.Collections; - -namespace TMPro.EditorUtilities -{ - - //[InitializeOnLoad] - class TMP_ResourcesLoader - { - - /// - /// Function to pre-load the TMP Resources - /// - public static void LoadTextMeshProResources() - { - //TMP_Settings.LoadDefaultSettings(); - //TMP_StyleSheet.LoadDefaultStyleSheet(); - } - - - static TMP_ResourcesLoader() - { - //Debug.Log("Loading TMP Resources..."); - - // Get current targetted platform - - - //string Settings = PlayerSettings.GetScriptingDefineSymbolsForGroup(BuildTargetGroup.Standalone); - //TMPro.TMP_Settings.LoadDefaultSettings(); - //TMPro.TMP_StyleSheet.LoadDefaultStyleSheet(); - } - - - - //[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] - //static void OnBeforeSceneLoaded() - //{ - //Debug.Log("Before scene is loaded."); - - // //TMPro.TMP_Settings.LoadDefaultSettings(); - // //TMPro.TMP_StyleSheet.LoadDefaultStyleSheet(); - - // //ShaderVariantCollection collection = new ShaderVariantCollection(); - // //Shader s0 = Shader.Find("TextMeshPro/Mobile/Distance Field"); - // //ShaderVariantCollection.ShaderVariant tmp_Variant = new ShaderVariantCollection.ShaderVariant(s0, UnityEngine.Rendering.PassType.Normal, string.Empty); - - // //collection.Add(tmp_Variant); - // //collection.WarmUp(); - //} - - } - - //static class TMP_ProjectSettings - //{ - // [InitializeOnLoadMethod] - // static void SetProjectDefineSymbols() - // { - // string currentBuildSettings = PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup); - - // //Check for and inject TMP_INSTALLED - // if (!currentBuildSettings.Contains("TMP_PRESENT")) - // { - // PlayerSettings.SetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup, currentBuildSettings + ";TMP_PRESENT"); - // } - // } - //} -} -- cgit v1.2.3