- CameraAnchor can now have camera rotation offsets as well as FOV changes.

- CameraAnchor no longer needs to sync with LightSync, and so does not.
- Added noise texture to velvet rope material.
- Improved lightmaps on velvet rope model.
- Round 1 podiums now return empty strings when no player owns them.
- Winning player camera in round 2 now has rotation offset for a later effect.
- Jail phone syncs active status better, and finds a player to follow better.
This commit is contained in:
2026-05-05 03:58:58 -04:00
parent 9cda4eaf7c
commit 7b113a5c8a
35 changed files with 517 additions and 550 deletions
+10 -3
View File
@@ -16,7 +16,7 @@ public class PlayerPodium : UdonSharpBehaviour
[SerializeField] private GameManagerRound1 _GameManager;
[SerializeField] private GameObject _TeleportButton;
[UdonSynced, FieldChangeCallback(nameof(PlayerName))] private string _PlayerName = "Player";
[UdonSynced, FieldChangeCallback(nameof(PlayerName))] private string _PlayerName = "";
[UdonSynced] private int _PlayerID = -1;
[UdonSynced, FieldChangeCallback(nameof(PlayerScore))] private int _PlayerScore = 50;
[UdonSynced, FieldChangeCallback(nameof(ShowScoreCard))] private bool _ShowScoreCard = false;
@@ -121,7 +121,7 @@ public class PlayerPodium : UdonSharpBehaviour
[NetworkCallable]
public void ResetOwner()
{
PlayerName = "Player " + PlayerNumber;
PlayerName = "";
_PlayerID = -1;
_Pedestal.EnableStandInteractLocally(false);
@@ -322,7 +322,14 @@ public class PlayerPodium : UdonSharpBehaviour
set
{
_PlayerName = value;
_NameplateUI.text = value;
if (_PlayerName == "")
{
_NameplateUI.text = "Player " + PlayerNumber;
}
else
{
_NameplateUI.text = value;
}
}
get => _PlayerName;
}