- Lightning round now cancels buzz-in period when there's no answer or buzz-in.

- Moved seat trigger for player pedestals to be permanently on the floor.
- Shifted cards and buzzers on the round 1 podium to fit the new design.
- Further improved round 1 podium lightmaps.
This commit is contained in:
2025-10-05 19:45:53 -04:00
parent 02bf062e4f
commit ea4d29c8c7
23 changed files with 230 additions and 133 deletions
+7 -3
View File
@@ -5,7 +5,6 @@ using TMPro;
using VRC.SDKBase;
using VRC.SDK3.UdonNetworkCalling;
using VRC.Udon.Common.Interfaces;
using System.Runtime.CompilerServices;
using UnityEngine.UI;
@@ -59,6 +58,8 @@ public class PlayerPodium : UdonSharpBehaviour
private int _FlashingScoreboardCounter = 0;
private const int MAX_FLASH_COUNTER = 8;
private const float MIN_AVATAR_EYE_HEIGHT = 0.745f;
private const float FLASHING_SCOREBOARD_PERIOD = 0.15f;
void Start()
@@ -281,7 +282,7 @@ public class PlayerPodium : UdonSharpBehaviour
break;
}
SendCustomEventDelayedSeconds(nameof(TickFlashingScoreboard), 0.15f);
SendCustomEventDelayedSeconds(nameof(TickFlashingScoreboard), FLASHING_SCOREBOARD_PERIOD);
}
else {
ResetScoreboardColours();
@@ -382,7 +383,10 @@ public class PlayerPodium : UdonSharpBehaviour
_PedestalHeight = value;
_Pedestal.transform.localPosition = new Vector3(
_Pedestal.transform.localPosition.x,
-_PedestalHeight,
-Mathf.Clamp(
_PedestalHeight,
MIN_AVATAR_EYE_HEIGHT,
Networking.LocalPlayer.GetAvatarEyeHeightMaximumAsMeters()),
_Pedestal.transform.localPosition.z
);
}