Universally challenged added

This commit is contained in:
2025-12-05 21:57:51 +00:00
parent 7a0fbeed7e
commit d2c18d2264
340 changed files with 109977 additions and 1616 deletions

View File

@@ -12,14 +12,15 @@ public class ScoreboardRowSpawner : Scoreboard
public override void UpdateScoreboard()
{
foreach (Transform child in rowContainer)
for (int i = rowContainer.childCount - 1; i >= 0; i--)
{
Destroy(child.gameObject);
Destroy(rowContainer.GetChild(i).gameObject);
}
VRCPlayerApi[] players = playerManager.GetCurrentPlayers();
foreach (VRCPlayerApi player in players)
for (int i = 0; i < players.Length; i++)
{
VRCPlayerApi player = players[i];
GameObject newRow = Instantiate(rowPrefab, rowContainer);
TMPro.TMP_Text[] textComponents = newRow.GetComponentsInChildren<TMPro.TMP_Text>();