ArabDesert/Assets/1-arab desert/udon/int_button.cs

15 lines
241 B
C#

using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
public class int_button : UdonSharpBehaviour
{
public GameObject Object;
private void Interact()
{
Object.SetActive(!Object.activeSelf);
}
}