Explainer for Round 2 now properly shows the loot and crook in the text.

This commit is contained in:
2025-08-13 18:08:37 -04:00
parent ccd73c5895
commit 316773c789
5 changed files with 20 additions and 17 deletions
@@ -182,6 +182,10 @@ public class CaseManager : UdonSharpBehaviour
{
return _AccusedCrook;
}
public string GetCrookName()
{
return CrookToString(_AccusedCrook);
}
public VRCUrl GetMap(int MapIndex)
{
@@ -112,6 +112,10 @@ public class GameManagerRound2 : GameManagerBase
RecoverTheLootInterface.HeaderUI.text = RoundSegmentTypeToString(RoundSegmentType.RecoverTheLootExplainer);
RecoverTheLootInterface.ExplainerUI.text = RecoverTheLootInterface.ExplainerUI.text
.Replace("[[LOOT]]", _CaseManager.GetLoot())
.Replace("[[CROOK]]", _CaseManager.GetCrookName());
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "FadeOutMusic");
EnableInteraction("Begin Round");