Jamie Greunbaum e4178f8b76 - ACME Crimenet Computer can now show messages that only the host can see.
- Added a doorway between the spawn room and the control room.
- Video load indicators set to a hidden position by default.
- Renamed "Assorted Textures" folder to "Assorted"; they're not textures.
- Removed superfluous debug statements from CaseVideoSyncPlayer.
2025-12-13 17:06:59 -05:00

25 lines
510 B
C#

using UdonSharp;
using UnityEngine;
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
public class VideoLoadIndicatorGroup : UdonSharpBehaviour
{
[SerializeField] private GameObject[] _Indicators;
private readonly Vector3 _EnabledPosition = Vector3.zero;
private readonly Vector3 _DisabledPosition = new Vector3(0.0f, -1000.0f, 0.0f);
public void HostEnabled()
{
transform.localPosition = _EnabledPosition;
}
public void HostDisabled()
{
transform.localPosition = _DisabledPosition;
}
}