From 3b2a6bb9047cfce9f501593b3669a9c1af6c5df4 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 05 十一月 2025 17:40:23 +0800
Subject: [PATCH] 130 战斗修改回合样式
---
Main/System/Message/RichText.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Main/System/Message/RichText.cs b/Main/System/Message/RichText.cs
index 6eed7b9..360a4da 100644
--- a/Main/System/Message/RichText.cs
+++ b/Main/System/Message/RichText.cs
@@ -181,7 +181,7 @@
unline = transform.GetComponentInChildren<TextUnline>();
if (unline == null)
{
- GameObject obj = Resources.Load("UIComp/TextUnline") as GameObject;
+ GameObject obj = BuiltInLoader.LoadPrefab("TextUnline");
// GameObject obj = UILoader.LoadPrefab("TextUnline") as GameObject;
obj = Instantiate(obj);
obj.transform.SetParent(transform);
@@ -619,6 +619,7 @@
#region 鎵ц浜嬩欢
public void OnPointerClick(PointerEventData eventData)
{
+ OnClick?.Invoke();
if (HrefClick)
{
Vector2 lp;
@@ -640,7 +641,6 @@
}
}
}
- if (OnClick != null) OnClick();
}
public void OnImgClick()
--
Gitblit v1.8.0