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");
|
||||
|
||||
+3
-9
@@ -266,13 +266,13 @@ MonoBehaviour:
|
||||
Data:
|
||||
- Name: $k
|
||||
Entry: 1
|
||||
Data: _ExplainerUI
|
||||
Data: ExplainerUI
|
||||
- Name: $v
|
||||
Entry: 7
|
||||
Data: 14|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||
- Name: <Name>k__BackingField
|
||||
Entry: 1
|
||||
Data: _ExplainerUI
|
||||
Data: ExplainerUI
|
||||
- Name: <UserType>k__BackingField
|
||||
Entry: 9
|
||||
Data: 3
|
||||
@@ -296,13 +296,7 @@ MonoBehaviour:
|
||||
Data: 15|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||
- Name:
|
||||
Entry: 12
|
||||
Data: 1
|
||||
- Name:
|
||||
Entry: 7
|
||||
Data: 16|UnityEngine.SerializeField, UnityEngine.CoreModule
|
||||
- Name:
|
||||
Entry: 8
|
||||
Data:
|
||||
Data: 0
|
||||
- Name:
|
||||
Entry: 13
|
||||
Data:
|
||||
|
||||
@@ -7,5 +7,5 @@ using UnityEngine;
|
||||
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
|
||||
public class HostCardRecoverTheLootExplainerInterface : HostCardInterfaceBase
|
||||
{
|
||||
[SerializeField] private TextMeshProUGUI _ExplainerUI;
|
||||
public TextMeshProUGUI ExplainerUI;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user