From 06da72770c641fabf980816ed466a2280dac2be7 Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期二, 05 八月 2025 19:25:14 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts --- 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