From cad87129e5ea2fd23cc195ed0444bd38f1117aa7 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 05 八月 2025 15:51:54 +0800
Subject: [PATCH] 79 【常规】背包 - 随机宝箱界面,自选宝箱界面,获得物品奖励界面

---
 Main/Manager/UIManager.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Main/Manager/UIManager.cs b/Main/Manager/UIManager.cs
index 82cc5eb..dec0ec4 100644
--- a/Main/Manager/UIManager.cs
+++ b/Main/Manager/UIManager.cs
@@ -690,7 +690,14 @@
         }
         // 娣诲姞鍒癠I鍒楄〃
         uiDict[uiName].Add(returnValue);
-        
+
+#if UNITY_EDITOR
+        if (uiDict[uiName].Count > 5)
+        { 
+            Debug.LogError("宸叉墦寮�" + uiDict[uiName].Count + "涓晫闈�:" + uiName);
+        }
+#endif
+
         // 灏哢I娣诲姞鍒版爤涓�
         uiStack.Push(returnValue);
         

--
Gitblit v1.8.0