登录bug&影子选手bug修复

This commit is contained in:
lishuo committed 2021-05-08 14:27:56 +08:00
1 parent 92676d7cf8
commit 696fd256a8
9 files changed
+2200 -2173

No files matched your search

+1 -3
View File
@@ -47,19 +47,17 @@ public class MainController : MonoBehaviour
//{
// UIManager.ShowHomePanel();
//});
if (App.MainSceneParam.ContainsKey("Name"))
if (App.MainSceneParam.ContainsKey("Name") && !string.IsNullOrEmpty(App.MainSceneParam["Name"]) )
{
UIManager.PushHome();
if (App.MainSceneParam["Name"] == "MapListPanel")
{
UIManager.ShowMapListPanel();
App.MainSceneParam["Name"] = string.Empty;
}
if (App.MainSceneParam["Name"] == "UserInfoPanel")
{
UIManager.ShowUserInfoPanel();
App.MainSceneParam["Name"] = string.Empty;
}
}
else