15 lines
314 B
C#
15 lines
314 B
C#
|
|
using UdonSharp;
|
|
using UnityEngine;
|
|
using VRC.SDKBase;
|
|
using VRC.Udon;
|
|
|
|
public class Mirror_Zone : UdonSharpBehaviour
|
|
{
|
|
public GameObject[] off;
|
|
public void OnPlayerTriggerExit(VRCPlayerApi Player)
|
|
{
|
|
if (Player.isLocal) for (int i = 0; i < off.Length; i++) off[i].SetActive(false);
|
|
}
|
|
}
|