- 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.
21 lines
409 B
C#
21 lines
409 B
C#
|
|
using UdonSharp;
|
|
using UnityEngine;
|
|
using VRC.SDKBase;
|
|
using VRC.Udon;
|
|
using VRC.Udon.Common.Interfaces;
|
|
|
|
|
|
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
|
|
public class CustomEventInteraction : UdonSharpBehaviour
|
|
{
|
|
[SerializeField] private UdonSharpBehaviour _Target;
|
|
[SerializeField] private string _EventName;
|
|
|
|
|
|
public override void Interact()
|
|
{
|
|
_Target.SendCustomEvent(_EventName);
|
|
}
|
|
}
|