- 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.
25 lines
510 B
C#
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;
|
|
}
|
|
}
|