This commit is contained in:
lq 2024-12-24 23:02:32 +08:00
parent 6d2c116c62
commit da0cb1c39c

View File

@ -50,7 +50,7 @@ public class RoomManager : MonoBehaviour
Text roomStatusText = roomItem.transform.Find("up/type").GetComponent<Text>();
Button roomButton = roomItem.transform.GetComponent<Button>();
if (roomNameText != null) roomNameText.text = ""+js.SetUIText(int.Parse(room.SceneId))+" "+ js.SetUIText(int.Parse(room.SubjectId));
if (roomNameText != null) roomNameText.text = ""+js.SetUIText(room.SceneId)+" "+ js.SetUIText(room.SubjectId);
if (roomStatusText != null)
{
// 根据 room.Status 的值设置状态文本