天梯UI补充
This commit is contained in:
@@ -48,7 +48,7 @@ namespace TcgEngine.UI
|
||||
RankMedalShow(ranking);
|
||||
this.playerName.text = username;
|
||||
this.rankScore.text = rankScore.ToString();
|
||||
this.stars.text = "星×" + stars;
|
||||
this.stars.text = "×" + stars;
|
||||
this.avatar.sprite = avatar;
|
||||
|
||||
PlayerRank pr = PlayerRank.Bronze; // 默认
|
||||
@@ -74,6 +74,7 @@ namespace TcgEngine.UI
|
||||
{
|
||||
this.rankId.sprite = null; // 或者默认图
|
||||
}
|
||||
this.rankId.SetNativeSize();
|
||||
|
||||
if (rankScore != 0)
|
||||
{
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace TcgEngine.UI
|
||||
public GameObject[] hideGameObject;
|
||||
private bool isHideObject = false;
|
||||
|
||||
public List<string> Usersid = new List<string>();
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
@@ -248,6 +249,8 @@ namespace TcgEngine.UI
|
||||
rankData.rankScore, rankData.stars, false);
|
||||
previous_rank = rankData.position;
|
||||
previous_index = rank_order;
|
||||
Usersid.Add(rankData.playerId);
|
||||
//68a6ca87c1f7ac52b66ef8dc
|
||||
}
|
||||
index++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user