27 lines
582 B
C#
27 lines
582 B
C#
|
|
using UdonSharp;
|
|
using UnityEngine;
|
|
using VRC.SDK3.Components;
|
|
using VRC.SDK3.UdonNetworkCalling;
|
|
using VRC.SDKBase;
|
|
using VRC.Udon;
|
|
|
|
public class LetterStand : UdonSharpBehaviour
|
|
{
|
|
public LetterPoint[] letterPoints;
|
|
public LetterStack[] letterStacks;
|
|
public LetterCard[] letterCards;
|
|
|
|
public void ResetCards()
|
|
{
|
|
for (int i = 0; i < letterPoints.Length; i++)
|
|
{
|
|
letterPoints[i].heldCard = null;
|
|
}
|
|
|
|
for (int i = 0; i < letterStacks.Length; i++)
|
|
{
|
|
letterStacks[i].ResetLetters();
|
|
}
|
|
}
|
|
} |