赛事默认3d视角&loading页面国旗问题
This commit is contained in:
parent
7bb5bafbd2
commit
9d48c05ef0
@ -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);
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user