版本更新,修复部分文本包裹器处理过程中可能遇到的下标错误的问题。

添加一些列表用法,如迭代直到……和直到……迭代
This commit is contained in:
2025-08-25 14:55:35 +08:00
parent 4c3f840141
commit 7ad6555795
7 changed files with 289 additions and 25 deletions
@@ -43,6 +43,13 @@ namespace Deconstruction.UI.TmpText
/// </summary>
private Dictionary<string, Action> _linkCallbacks = new Dictionary<string, Action>();
#if UNITY_EDITOR
protected void OnValidate()
{
canvas = GetComponentInParent<Canvas>();
}
#endif
protected void Awake()
{
if (canvas == null)