fix: TextMeshPro 3.2.0-pre support

close #355
This commit is contained in:
mob-sakai
2025-06-12 20:49:32 +09:00
parent 01be18bb28
commit 804b48c73e
2 changed files with 6 additions and 1 deletions
@@ -27,6 +27,11 @@
"name": "com.unity.timeline",
"expression": "1.0.0",
"define": "TIMELINE_ENABLE"
},
{
"name": "com.unity.textmeshpro",
"expression": "[1.0.0,3.2.0-pre.1)",
"define": "LEGACY_TMP_ENABLE"
}
],
"noEngineReferences": false
@@ -91,7 +91,7 @@ namespace Coffee.UIEffects
[InitializeOnLoadMethod]
private static void InitializeOnLoadMethod()
{
#if UNITY_2023_2_OR_NEWER
#if !LEGACY_TMP_ENABLE
const string tmpSupport = "TextMeshPro Support (Unity 6)";
const string version = "v5.9.0 (Unity 6)";
#else