Explainer for Round 2 now properly shows the loot and crook in the text.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user