25 lines
423 B
C#
25 lines
423 B
C#
|
|
using UdonSharp;
|
|
using UnityEngine;
|
|
using VRC.SDK3.UdonNetworkCalling;
|
|
using VRC.SDKBase;
|
|
using VRC.Udon;
|
|
|
|
|
|
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
|
|
public class LocationBoard : UdonSharpBehaviour
|
|
{
|
|
private Animator _Animator;
|
|
|
|
private void Start()
|
|
{
|
|
_Animator = GetComponent<Animator>();
|
|
}
|
|
|
|
[NetworkCallable]
|
|
public void PanelInteraction(int Panel)
|
|
{
|
|
_Animator.SetBool("Flip " + Panel, true);
|
|
}
|
|
}
|