CarmenSandiego/Assets/UdonSharp/Interacts/CustomEventInteraction.cs
Jamie Greunbaum 2bf76f34cd Oh, boy, there's a lot here.
- 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.
2025-08-18 04:19:21 -04:00

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);
}
}