Added basic lobby

This commit is contained in:
2026-05-20 21:03:54 +01:00
parent 48f8ae6c08
commit 6055fba959
15 changed files with 1019 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
using PashaBibko.PenguinChase.Network;
using UnityEngine.UI;
using UnityEngine;
namespace PashaBibko.PenguinChase.Lobby
{
public class LobbyClientDisplay : MonoBehaviour
{
[Header("References")]
[SerializeField] private Text PlayerCountDisplay;
[SerializeField] private Text PlayerNameDisplay;
public void SetText(GameNetworkClient client)
{
PlayerCountDisplay.text = $"[{client.LocalPlayerCount}]";
PlayerNameDisplay.text = client.PlayerName;
}
}
}