赛事默认3d视角&loading页面国旗问题

This commit is contained in:
lishuo 2022-01-24 11:39:48 +08:00
parent 7bb5bafbd2
commit 9d48c05ef0
2 changed files with 8 additions and 8 deletions

View File

@ -367,11 +367,11 @@ namespace Assets.Scenes.Ride.Scripts
}
else
{
//如果是参赛选手默认进入3d视角
if (mainController.cyclingModel == Model.CyclingModel.Competition && !mainController.competition.CanWatch)
{
return;
}
////如果是参赛选手默认进入3d视角
//if (mainController.cyclingModel == Model.CyclingModel.Competition && !mainController.competition.CanWatch)
//{
// return;
//}
mainController.Is3dView = false;
ChangeView(null);
}

View File

@ -128,8 +128,8 @@ namespace Assets.Scenes.Ride.Scripts
uploadByUserName.text = userList[0].Name;
var countryUrl = App.Host + $"User/GetCountryImg?userid={userList[0].Id}";
Utils.DisplayImage(head, userList[0].HeadImage);//头像
country.texture = cyclingController.GetCountryImageByCode(route.CountryCode);//上传者国家
mapCountry.texture = cyclingController.GetCountryImageByName(userList[0].Country);//路书国家
country.texture = cyclingController.GetCountryImageByName(userList[0].Country);//上传者国家
mapCountry.texture = cyclingController.GetCountryImageByCode(route.CountryCode);//路书国家
//Utils.DisplayImage(altitudeGraph, route.AltitudeGraph);//海拔图
Utils.DisplayImageAysnc(StartCoroutine, altitudeGraph, route.AltitudeGraph, DowloadCallBack);
}
@ -196,7 +196,7 @@ namespace Assets.Scenes.Ride.Scripts
myselfItemScript.SetName(App.CurrentUser.Nickname);
myselfItemScript.SetTimer("--:--:--");
myselfItemScript.SetHead(App.CurrentUser.WxHeadImg);
var texture = cyclingController.GetCountryImageByCode(App.CurrentUser.Country);
var texture = cyclingController.GetCountryImageByName(App.CurrentUser.Country);
myselfItemScript.SetCountry(texture);
}
else