修改
This commit is contained in:
parent
6d2c116c62
commit
da0cb1c39c
@ -50,7 +50,7 @@ public class RoomManager : MonoBehaviour
|
|||||||
Text roomStatusText = roomItem.transform.Find("up/type").GetComponent<Text>();
|
Text roomStatusText = roomItem.transform.Find("up/type").GetComponent<Text>();
|
||||||
Button roomButton = roomItem.transform.GetComponent<Button>();
|
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)
|
if (roomStatusText != null)
|
||||||
{
|
{
|
||||||
// 根据 room.Status 的值设置状态文本
|
// 根据 room.Status 的值设置状态文本
|
||||||
|
Loading…
Reference in New Issue
Block a user