From 9e04461d9289c3d7ff22f65ae5a8ece53e594c3c Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 30 十月 2025 11:48:58 +0800
Subject: [PATCH] 0312 物品图片支持读取不同的文件夹

---
 Main/System/Guild/GuildEmblemCell.cs |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/Main/System/Guild/GuildEmblemCell.cs b/Main/System/Guild/GuildEmblemCell.cs
index 422c203..a12a4f4 100644
--- a/Main/System/Guild/GuildEmblemCell.cs
+++ b/Main/System/Guild/GuildEmblemCell.cs
@@ -8,7 +8,7 @@
 [RequireComponent(typeof(UIEffectPlayer))]
 public class GuildEmblemCell : MonoBehaviour
 {
-    [SerializeField] ImageEx emblemIcon;
+    [SerializeField] Image emblemIcon;
     [SerializeField] UIFrame frame;
     [SerializeField] UIEffectPlayer uiEffect;
     [Header("瀛� F9E29F 鍖呰竟 683C00 瀛楀彿36 Y:-9")]
@@ -21,6 +21,11 @@
         {
             return;
         }
+        if (emblemIcon == null)
+        {
+            Debug.LogError("鍏細寰界珷鏈缃�");
+            return;
+        }
 
         // 寰界珷鍔ㄦ�佹晥鏋滄寜甯у鐞嗭紝濡傛灉鍚庣画瑕佹敼鎴恠pine鐗规晥锛屽垯鍐嶅晢璁慨鏀�
         // 鐩墠鐗规晥涓洪檮鍔犺〃鐜�
@@ -29,6 +34,7 @@
             if (effectID != 0)
             {
                 uiEffect.effectId = effectID;
+                uiEffect.isPlaySpineLoop = true;
                 uiEffect.Play();
             }
         }

--
Gitblit v1.8.0