mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Basic example: syntax
This commit is contained in:
parent
9dbd45c9d8
commit
c7a3310b20
@ -17,10 +17,8 @@ internal static void ResetPlayerNumbers()
|
|||||||
{
|
{
|
||||||
int playerNumber = 0;
|
int playerNumber = 0;
|
||||||
foreach (Player player in playersList)
|
foreach (Player player in playersList)
|
||||||
{
|
|
||||||
player.playerNumber = playerNumber++;
|
player.playerNumber = playerNumber++;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
[Header("Player UI")]
|
[Header("Player UI")]
|
||||||
public GameObject playerUIPrefab;
|
public GameObject playerUIPrefab;
|
||||||
|
Loading…
Reference in New Issue
Block a user