登录bug&影子选手bug修复
This commit is contained in:
1 parent
92676d7cf8
commit
696fd256a8
9 files changed
+2200
-2173
No files matched your search
@@ -1,5 +1,6 @@
|
||||
using Assets.Scenes.Ride.Scripts.Model;
|
||||
using Assets.Scripts.Apis;
|
||||
using Assets.Scripts.Apis.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
@@ -53,7 +54,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
break;
|
||||
case Model.CyclingModel.Review:
|
||||
singleArea.SetActive(false);
|
||||
InitReview();
|
||||
//InitReview();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -77,12 +78,12 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
item.SetSiblingIndex(i);
|
||||
}
|
||||
}
|
||||
private void InitReview()
|
||||
public void SetReview(List<MapRecordRanking> rankingList)
|
||||
{
|
||||
reviewScrollView.SetActive(true);
|
||||
if (cyclingController.selectParamModel.RankingsId.Count > 0)
|
||||
if (rankingList.Count > 0)
|
||||
{
|
||||
var rankingList = mapApi.GetRecordFileFromServer(cyclingController.selectParamModel.RankingsId);
|
||||
//var rankingList = mapApi.GetRecordFileFromServer(cyclingController.selectParamModel.RankingsId);
|
||||
foreach (var item in rankingList)
|
||||
{
|
||||
GameObject newObj = (GameObject)Instantiate(reviewItem, content.transform);
|
||||
|
||||
Reference in new issue
Block a user