版本更新,修复部分文本包裹器处理过程中可能遇到的下标错误的问题。
添加一些列表用法,如迭代直到……和直到……迭代
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user