Skip to content

Commit 42d4bd1

Browse files
Reverted Curly Text back to old Text component as it is not compatible with TextMeshPro - will investigate alternatives
1 parent 4db311f commit 42d4bd1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Examples~

Runtime/Scripts/Effects/CurlyUI/CUIText.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
namespace UnityEngine.UI.Extensions
55
{
66
[RequireComponent(typeof(RectTransform))]
7-
[RequireComponent(typeof(TMPro.TMP_Text))]
7+
[RequireComponent(typeof(Text))]
88
[AddComponentMenu("UI/Effects/Extensions/Curly UI Text")]
99
public class CUIText : CUIGraphic
1010
{
1111
public override void ReportSet()
1212
{
1313
if (uiGraphic == null)
1414
{
15-
uiGraphic = GetComponent<TMPro.TMP_Text>();
15+
uiGraphic = GetComponent<Text>();
1616
}
1717

1818
base.ReportSet();

0 commit comments

Comments
 (0)