23 lines
430 B
C#
23 lines
430 B
C#
using UdonSharp;
|
|
using UnityEngine;
|
|
using VRC.SDKBase;
|
|
using VRC.Udon;
|
|
|
|
public class ScoreboardManager : UdonSharpBehaviour
|
|
{
|
|
public Scoreboard[] scoreboards;
|
|
|
|
public void UpdateAllScoreboards()
|
|
{
|
|
if (scoreboards == null) return;
|
|
|
|
foreach (Scoreboard board in scoreboards)
|
|
{
|
|
if (board != null)
|
|
{
|
|
board.UpdateScoreboard();
|
|
}
|
|
}
|
|
}
|
|
}
|