From ac93e899d5c6331e89ccae552ecbb502a9652d01 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 27 一月 2026 18:49:43 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Mingge/MinggeItemCell.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Main/System/Mingge/MinggeItemCell.cs b/Main/System/Mingge/MinggeItemCell.cs
index c57fb12..e464253 100644
--- a/Main/System/Mingge/MinggeItemCell.cs
+++ b/Main/System/Mingge/MinggeItemCell.cs
@@ -49,14 +49,15 @@
         {
             loopEffect.effectId = 1026;
 
-            loopEffect.PlayByArrIndex(config.ItemColor - 6, true, true);
+            loopEffect.PlayByArrIndex(config.ItemColor - 6, true);
         }
         else
         {
             loopEffect.Stop();
         }
         //鐗规晥鍙傝�冨昂瀵�106*150 鍚屾瘮渚嬬缉鏀�
-        loopEffect.transform.localScale = new Vector3(1, 0.76f, 1);
+        var rect = bgIcon.GetComponent<RectTransform>();
+        loopEffect.transform.localScale = new Vector3(rect.sizeDelta.x / 106f, rect.sizeDelta.y / 150f, 1);
     }
 }
 

--
Gitblit v1.8.0