Basic example: syntax

This commit is contained in:
MrGadget1024 2021-10-09 08:20:30 -04:00
parent 9dbd45c9d8
commit c7a3310b20

View File

@ -17,9 +17,7 @@ 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")]