- Added image clues to the ACME Crimenet Computer. - Improved functionality of the ACME Crimenet Computer.
19 lines
499 B
C#
19 lines
499 B
C#
|
|
using UdonSharp;
|
|
using UnityEngine;
|
|
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);
|
|
}
|
|
} |