mirror of
https://git.aaro.dev/VRCBoard/vrcboard-udon.git
synced 2026-03-17 04:29:46 +00:00
28 lines
687 B
C#
28 lines
687 B
C#
|
|
using UdonSharp;
|
|
using UnityEngine;
|
|
using VRC.SDKBase;
|
|
using VRC.Udon;
|
|
|
|
namespace VRCBoard.Components
|
|
{
|
|
public class VRCBoardSupporterBoardTMP : VRCBoardSupporterBoardBase
|
|
{
|
|
public TMPro.TextMeshPro[] text;
|
|
public TMPro.TextMeshProUGUI[] textUGUI;
|
|
|
|
protected override void UpdateSupporterBoard(string supporterList)
|
|
{
|
|
Debug.Log("Updating supporter board");
|
|
for (int i = 0; i < text.Length; i++)
|
|
{
|
|
text[i].text = supporterList;
|
|
}
|
|
for (int i = 0; i < textUGUI.Length; i++)
|
|
{
|
|
textUGUI[i].text = supporterList;
|
|
}
|
|
}
|
|
}
|
|
}
|