using Photon.Realtime;
using Photon.Pun;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RoomListing : MonoBehaviour
{
[SerializeField]
private Text _text;
public void SetRoomInfo(RoomInfo roomInfo1)
{
_text.text = roomInfo1.MaxPlayers + ", " + roomInfo1.Name;
}
}