mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 09:50:15 +00:00
Fixed a build compatibility error
This commit is contained in:
@@ -412,8 +412,10 @@ namespace XCharts
|
||||
}
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
public static void EnableTextMeshPro()
|
||||
{
|
||||
|
||||
DefineSymbolsUtil.AddGlobalDefine("dUI_TextMeshPro");
|
||||
RemoveAllChartObject();
|
||||
}
|
||||
@@ -423,5 +425,6 @@ namespace XCharts
|
||||
DefineSymbolsUtil.RemoveGlobalDefine("dUI_TextMeshPro");
|
||||
RemoveAllChartObject();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user