diff --git a/Packages/com.bywaystudios.textmeshpro.ext/Runtime/TextMeshProBywayUIRuntimeHelper.cs b/Packages/com.bywaystudios.textmeshpro.ext/Runtime/TextMeshProBywayUIRuntimeHelper.cs index 75928c6..f22b7bd 100644 --- a/Packages/com.bywaystudios.textmeshpro.ext/Runtime/TextMeshProBywayUIRuntimeHelper.cs +++ b/Packages/com.bywaystudios.textmeshpro.ext/Runtime/TextMeshProBywayUIRuntimeHelper.cs @@ -73,10 +73,6 @@ namespace Byway.TMP { Destroy(m_TextMaterialInstance); } - if (m_TextMaterialOriginal != null) - { - Destroy(m_TextMaterialOriginal); - } } private void Awake() diff --git a/Packages/com.bywaystudios.textmeshpro.ext/package.json b/Packages/com.bywaystudios.textmeshpro.ext/package.json index d8ce3f6..524eac5 100644 --- a/Packages/com.bywaystudios.textmeshpro.ext/package.json +++ b/Packages/com.bywaystudios.textmeshpro.ext/package.json @@ -1,7 +1,7 @@ { "name": "com.bywaystudios.textmeshpro.ext", "displayName": "TextmeshPro Extension", - "version": "0.1.5", + "version": "0.1.6", "dependencies": { "com.unity.textmeshpro": "3.0.9" },