划船机实时保存

This commit is contained in:
lishuo committed 2022-05-31 16:47:21 +08:00
1 parent 95df03e540
commit 2524e3a004
2 files changed
+75 -9

No files matched your search

@@ -271,11 +271,8 @@ public class RowerMultiModeScript : MonoBehaviour
{
Utils.DisplayImageTempDict(t.Find("Left/Avatar").GetComponent<RawImage>(), data.Avatar, caches);
}
var _c = countryList.SingleOrDefault(x => x.country == data.Country);
if (_c != null)
{
t.Find("Left/Avatar/Country").GetComponent<Image>().sprite = Resources.Load<Sprite>(_c.source);
}
t.Find("Left/Avatar/Country").GetComponent<Image>().ShowImageWithTexture(UIManager.Instance.loginRegOptions.GetCountryImage(data.Country));
t.Find("Left/NickName").GetComponent<Text>().text = data.NickName;
if (data.list.Count == 0 || !GetComponent<RowerHomeScript>().openTimer)
@@ -1175,7 +1172,7 @@ public class RowerMultiModeScript : MonoBehaviour
//}
float timer = 1f;
int currentSecond = -1;
private List<CountryModel> countryList;
//private List<CountryModel> countryList;
public RowerTaskPanel.RowerType rowerType { get; set; }
int _testdis = 0;