using TMPro;
using UnityEngine;
namespace LobbyRelaySample.UI
{
///
/// Displays the name of the lobby.
///
public class LobbyNameUI : ObserverPanel
{
[SerializeField]
TMP_Text m_lobbyNameText;
public override void ObservedUpdated(LocalLobby observed)
{
m_lobbyNameText.SetText(observed.LobbyName);
}
}
}