Fix OnDestroy Error

This commit is contained in:
wsycarlos 2026-01-15 19:03:59 +08:00
parent 95bd7b1c16
commit 90301e18dd
2 changed files with 1 additions and 5 deletions

View File

@ -73,10 +73,6 @@ namespace Byway.TMP
{
Destroy(m_TextMaterialInstance);
}
if (m_TextMaterialOriginal != null)
{
Destroy(m_TextMaterialOriginal);
}
}
private void Awake()

View File

@ -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"
},