namespace LobbyRelaySample.UI
{
///
/// The panel that holds the lobby joining and creation panels.
///
public class JoinCreateLobbyUI : ObserverPanel
{
public override void ObservedUpdated(LocalGameState observed)
{
if (observed.State == GameState.JoinMenu)
{
Show(false);
}
else
{
Hide();
}
}
}
}