[optimize][textstyle] support sprite asset of TextMeshPro (#201)

This commit is contained in:
monitor1394
2022-06-21 08:15:48 +08:00
parent 5bc14dd37a
commit 8a6253621b
3 changed files with 13 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ namespace XCharts.Editor
PropertyField(prop, "m_LineSpacing");
#if dUI_TextMeshPro
PropertyField(prop, "m_TMPFontStyle");
PropertyField(prop, "m_TMPSpriteAsset");
PropertyField(prop, "m_TMPAlignment");
#else
PropertyField(prop, "m_FontStyle");