mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-09-08 10:25:16 -05:00
Rewrote Networking and Base Lobby Created
- Rewrote networking based on tutorials from MLAPI Demo Project and Dapper Dino - Created Lobby UI based on the turorial from Dapper Dino - Linked Existing UI into using the new networking - Modified Lobby Settings to only allow 3 players - Added Field for players to enter their player name
This commit is contained in:
11
Assets/Scripts/Network/PlayerData.cs
Normal file
11
Assets/Scripts/Network/PlayerData.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
public struct PlayerData {
|
||||
|
||||
public string PlayerName { get; private set; }
|
||||
public ulong ClientId { get; private set; }
|
||||
|
||||
public PlayerData(string playerName, ulong clientId)
|
||||
{
|
||||
PlayerName = playerName;
|
||||
ClientId = clientId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user