- Added a functioning Modem. - Added a destination sign at the Modem's destination location. - Intro video transcripts are now optional in case files. - Added a proper endgame handler for round 1. - Fixed a lot of formatting for text between rounds. - Fixed a bug that showed the wrong text if all round 3 markers are exhausted. - Shortened time to detect improperly placed markers by just a bit.
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);
|
|
}
|
|
} |