- Added a skateboard and VHS cassette for the video music clues. - Reworked more materials to have a common parent.
20 lines
526 B
C#
20 lines
526 B
C#
|
|
using UdonSharp;
|
|
using UnityEngine;
|
|
using VRC.SDK3.Components;
|
|
using VRC.Udon.Common.Interfaces;
|
|
|
|
|
|
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
|
|
public class CustomNetworkEventInteraction : UdonSharpBehaviour
|
|
{
|
|
[SerializeField] private UdonSharpBehaviour _Target;
|
|
[SerializeField] private string _EventName;
|
|
[SerializeField] private NetworkEventTarget _NetworkEventTarget = NetworkEventTarget.All;
|
|
|
|
|
|
public override void Interact()
|
|
{
|
|
_Target.SendCustomNetworkEvent(_NetworkEventTarget, _EventName);
|
|
}
|
|
} |