hch
7 天以前 cb653cf75b17b9bdca0b5b9e6b88edf1ca72e90c
Main/System/Message/RichText.cs
@@ -181,7 +181,7 @@
        unline = transform.GetComponentInChildren<TextUnline>();
        if (unline == null)
        {
            GameObject obj = Resources.Load("TextUnline") as GameObject;
            GameObject obj = BuiltInLoader.LoadPrefab("TextUnline");
            // GameObject obj = UILoader.LoadPrefab("TextUnline") as GameObject;
            obj = Instantiate(obj);
            obj.transform.SetParent(transform);
@@ -200,7 +200,6 @@
            return;
        }
#endif 
        // TODO YYL 配置加载完成与否的判定可能还需要考量
        if (language && !string.IsNullOrEmpty(enableDisplay) && Application.isPlaying/* && ConfigInitiator.done*/)
        {
            text = Language.Get(enableDisplay);
@@ -620,6 +619,7 @@
    #region 执行事件
    public void OnPointerClick(PointerEventData eventData)
    {
        OnClick?.Invoke();
        if (HrefClick)
        {
            Vector2 lp;
@@ -641,7 +641,6 @@
                }
            }
        }
        if (OnClick != null) OnClick();
    }
    public void OnImgClick()