Add new meta files and initial implementations for VRCBoard components and materials

This commit is contained in:
2024-09-30 13:16:04 +03:00
commit 01bc67dcff
32 changed files with 4975 additions and 0 deletions

View File

@@ -0,0 +1,27 @@

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;
}
}
}
}