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; //用于获取全服最值内容