Merge branch 'dev_lishuo' into dev_cyp

# Conflicts:
#	Assets/Resources/UI/Prefab/Panel/Mobile/DevicePanel.prefab
#	Assets/Scenes/Login-Mobile.unity
#	Assets/Scenes/Login.unity
#	Assets/Scripts/App.cs
#	Assets/Scripts/Editor.meta
#	Assets/Scripts/Scenes/Ride/Scripts/CyclingController.cs
This commit is contained in:
Caiyanpeng committed 2021-11-23 09:51:10 +08:00
commit 190a66bb68
89 files changed
+9195 -1628

No files matched your search

@@ -222,7 +222,7 @@ namespace Assets.Scenes.Ride.Scripts
//比赛状态
CompetitionStatus.text = competition.StatusVlaue.ToString();
//参赛选手
Contestant.text = competition.UserList.Count.ToString() + "Riders";
Contestant.text = competition.UserList.Count.ToString() + App.GetLocalString("Riders");
ShowPlayers(competition.UserList);
//路书描述
mapDescText.text = GetMaxString(competition.Dec, 400);
@@ -335,7 +335,7 @@ namespace Assets.Scenes.Ride.Scripts
_raceStart = competition.Status == 3;
_canEnter = competition.CanEnter;
Contestant.text = competition.UserList.Count.ToString() + "Riders";
Contestant.text = competition.UserList.Count.ToString() + App.GetLocalString("Riders");
ShowPlayers(competition.UserList);
}
}
@@ -36,7 +36,7 @@ namespace Assets.Scenes.Ride.Scripts
//比赛开始前倒计时
if (count >= 0 && !competitionModel.recorderData.Saved)
{
ShowCountDown(count, "Get Ready!");//显示倒计时面板信息
ShowCountDown(count, App.GetLocalString("Get Ready!"));//显示倒计时面板信息
Timer.gameObject.SetActive(false);
TimerTitle.gameObject.SetActive(false);
}
@@ -50,7 +50,7 @@ namespace Assets.Scenes.Ride.Scripts
{
#if UNITY_IOS || UNITY_ANDROID
//显示倒计时面板信息
ShowCountDown(s.Item1, "Time Limit");
ShowCountDown(s.Item1, App.GetLocalString("Time Limit"));
#else
ShowCountDown(s.Item1, "Get The First Place. Time Limit");
#endif
@@ -59,7 +59,7 @@ namespace Assets.Scenes.Ride.Scripts
{
//显示倒计时面板信息
//ShowCountDown(s.Item1, "remaining");
ShowCountDown(s.Item1, "Remaining Time");
ShowCountDown(s.Item1, App.GetLocalString("Remaining Time"));
}
//显示当前选手骑行时间
Timer.gameObject.SetActive(true);
@@ -409,7 +409,7 @@ namespace Assets.Scenes.Ride.Scripts
heartRate.text = (currentPlayer.HeartRate ?? 0).ToString();
candance.text = $"{Math.Round(currentPlayer.Cadance, 0)}";
preSlopeText.text = $"{Math.Round(currentPlayer.PreSlope, 1)}%";
currentSlopeToatalDistanceText.text = $"Total:{Math.Round(currentPlayer.CurrentDistance, 0)}M";
currentSlopeToatalDistanceText.text = $"{App.GetLocalString("Total")}:{Math.Round(currentPlayer.CurrentDistance, 0)}M";
//坡度相关数据
nextSlopeText.text = Math.Round(currentPlayer.NextSlope, 1).ToString() + "%";
//nextSlopeDistanceText.GetComponent<NumberDotween>().AnimateNum((float)playerController.NextSlopeDistance, 0, "-{0}M");