From 71c9907c89134d52af573aa3218df6c531a56e30 Mon Sep 17 00:00:00 2001 From: lishuo Date: Wed, 1 Jun 2022 19:49:15 +0800 Subject: [PATCH] =?UTF-8?q?UImanager=20show=E6=96=B9=E6=B3=95=E4=BC=9A?= =?UTF-8?q?=E4=BA=A7=E7=94=9F=E5=A4=9A=E4=BD=99=E7=9A=84HomeController?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UIManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/UIManager.cs b/Assets/Scripts/UIManager.cs index 2c37f7ec..ccbfeb39 100644 --- a/Assets/Scripts/UIManager.cs +++ b/Assets/Scripts/UIManager.cs @@ -747,7 +747,7 @@ public class UIManager : MonoBehaviour } if (UIManager.Instance.MainPanel != null && parent == UIManager.Instance.MainPanel) { - App.currentPageIsHome = panelToShow.Equals(UIManager.Instance.HomePanel); + App.currentPageIsHome = panelToShow.GetType().Name.Equals("HomeController"); } if (modal)