diff --git a/Assets/TEngine/Editor/UI/ScriptGenerator.cs b/Assets/TEngine/Editor/UI/ScriptGenerator.cs index aa0af83f..313c2845 100644 --- a/Assets/TEngine/Editor/UI/ScriptGenerator.cs +++ b/Assets/TEngine/Editor/UI/ScriptGenerator.cs @@ -170,7 +170,7 @@ namespace TEngine.Editor.UI { "m_curve", "AnimationCurve" }, { "m_canvasGroup", "CanvasGroup" }, #if ENABLE_TEXTMESHPRO - {"m_tmp","TextMeshProUGUI"}, + {"m_tmp","TextMeshProUGUI"}, #endif }; @@ -285,6 +285,7 @@ namespace TEngine.Editor.UI { GUILayout.Label(item.Key + ":\t" + item.Value); } + GUILayout.EndVertical(); } }