对战结束显示自己是否DNF
This commit is contained in:
parent
889ec8244e
commit
96c48d3cb3
@ -732,8 +732,8 @@ public class GameRoomListController : PFUIPanel
|
||||
t.transform.Find("Country").GetComponent<RawImage>().texture = UIManager.Instance.loginRegOptions.GetCountryImageByName(item.Country);
|
||||
t.transform.Find("Name").GetComponent<Text>().text = item.NickName;
|
||||
t.transform.Find("Timer").GetComponent<Text>().text = item.TotalTime;
|
||||
t.transform.Find("DNF").gameObject.SetActive(item.IsDNF);
|
||||
t.transform.Find("DNF_L").gameObject.SetActive(item.IsDNF);
|
||||
t.transform.Find("DNF").gameObject.SetActive(item.IsDNF && item.UserId != App.CurrentUser.Id);
|
||||
t.transform.Find("DNF_L").gameObject.SetActive(item.IsDNF && item.UserId == App.CurrentUser.Id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user