diff --git a/Assets/Scripts/UI/UIResultTip.cs b/Assets/Scripts/UI/UIResultTip.cs index cc99f611..d00c6421 100644 --- a/Assets/Scripts/UI/UIResultTip.cs +++ b/Assets/Scripts/UI/UIResultTip.cs @@ -4,6 +4,7 @@ using QFramework; using TMPro; using System; using static OperationController; +using System.Text.RegularExpressions; namespace QFramework.Example { @@ -44,7 +45,8 @@ namespace QFramework.Example obj = Wrong.gameObject; } obj.SetActive(true); - obj.transform.Find("Bg/Label").GetComponent().text = mData.label; + var text = obj.transform.Find("Bg/Label").GetComponent(); + text.text = Regex.Unescape(mData.label); if (mData.autoHideTime == -1) { Button btn = obj.GetComponent