20 lines
317 B
C#
20 lines
317 B
C#
|
|
using UdonSharp;
|
|
using UnityEngine;
|
|
using VRC.SDKBase;
|
|
using VRC.Udon;
|
|
|
|
public class DoorHandle : UdonSharpBehaviour
|
|
{
|
|
[SerializeField] private Door doorScript;
|
|
|
|
|
|
public override void Interact()
|
|
{
|
|
if (doorScript != null)
|
|
{
|
|
doorScript.HandleInteraction();
|
|
}
|
|
}
|
|
}
|