update 0.5.1

This commit is contained in:
2025-08-09 16:57:57 +08:00
parent 343fc7a2f6
commit 7739716380
6 changed files with 68 additions and 7 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)