From 2c8457c75e89d05687afec7ea54579333188d5e7 Mon Sep 17 00:00:00 2001 From: lishuo Date: Fri, 17 Dec 2021 11:24:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E6=96=AD=E9=AA=91=E8=A1=8C=E5=BC=B9?= =?UTF-8?q?=E7=AA=97bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Scenes/MainController.cs | 26 ++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Assets/Scripts/Scenes/MainController.cs b/Assets/Scripts/Scenes/MainController.cs index deb42e78..554613a8 100644 --- a/Assets/Scripts/Scenes/MainController.cs +++ b/Assets/Scripts/Scenes/MainController.cs @@ -221,18 +221,19 @@ public class MainController : BaseScene //{ // UIManager.ShowHomePanel(); //}); -//#if UNITY_ANDROID || UNITY_IOS -// if (!App.IsRowerMode.HasValue) -// { -// UIManager.ShowRowerSelector(); -// return; -// } -// if (App.IsRowerMode == true) -// { -// UIManager.ShowRowerPanel(); -// return; -// } -//#endif + //#if UNITY_ANDROID || UNITY_IOS + // if (!App.IsRowerMode.HasValue) + // { + // UIManager.ShowRowerSelector(); + // return; + // } + // if (App.IsRowerMode == true) + // { + // UIManager.ShowRowerPanel(); + // return; + // } + //#endif + LastRide();//检查本地异常中断的骑行并弹窗提示继续 if (App.MainSceneParam.ContainsKey("Name") && !string.IsNullOrEmpty(App.MainSceneParam["Name"])) { UIManager.ShowHomePanel(); @@ -267,7 +268,6 @@ public class MainController : BaseScene } UIManager.UpdateJoinCompetition();//查询当前我参加的赛事 - LastRide();//检查本地异常中断的骑行并弹窗提示继续 } float maxt = 0f; //用于获取全服最值内容