26 lines
448 B
C#
26 lines
448 B
C#
|
|
using UdonSharp;
|
|
using UnityEngine;
|
|
using VRC.SDKBase;
|
|
using VRC.Udon;
|
|
|
|
public class LetterStand : UdonSharpBehaviour
|
|
{
|
|
public LetterPoint[] letterPoints;
|
|
public LetterStack[] letterStacks;
|
|
public GameObject controlPanel;
|
|
|
|
public void ResetCards()
|
|
{
|
|
foreach (LetterPoint point in letterPoints)
|
|
{
|
|
point.heldCard = null;
|
|
}
|
|
|
|
foreach (LetterStack stack in letterStacks)
|
|
{
|
|
stack.ResetLetters();
|
|
}
|
|
}
|
|
}
|