AR加对战整体处理

This commit is contained in:
lishuo committed 2022-08-08 13:33:32 +08:00
1 parent 9b1bb3d9ba
commit fc7ef017d0
12 files changed
+40257 -40265

No files matched your search

@@ -43,7 +43,7 @@ class GameRoomPlayerPanel : MonoBehaviour
UIManager.AddEvent(gameObject, EventTriggerType.PointerClick, (e) =>
{
if (App.gameRoomDetail.UserId == UserId)
if (App.gameRoomDetail.UserId == UserId || App.CurrentUser.Id == UserId)
return;
kickModal.SetActive(true);
});
@@ -732,6 +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);
}
}
}