- Jail chain now shows and hides itself at the appropriate times.

- Jail chain now syncs a lot more smoothly.
This commit is contained in:
2025-08-24 18:14:53 -04:00
parent 3c5f9842ec
commit b5dd078ee1
24 changed files with 2022 additions and 1225 deletions
@@ -56,6 +56,8 @@ public class GameManagerRound2 : GameManagerBase
_JailChain.Initialise();
_JailPlayer.PlayVideo = false;
RequestSerialization();
base.InitialiseGameMode();
}
@@ -265,6 +267,8 @@ public class GameManagerRound2 : GameManagerBase
(HostCardRecoverTheLootEndInterface)GetHostCardInterface(RoundSegmentType.EndRecoverTheLoot);
EndRecoverTheLootInterface.HeaderUI.text = "END";
_JailChain.Show = true;
EnableInteraction("Go To The Map");
}
@@ -275,7 +279,9 @@ public class GameManagerRound2 : GameManagerBase
(HostCardBetweenRoundsInterface)GetHostCardInterface(RoundSegmentType.BetweenSegments);
Interface.HeaderUI.text = "Round is over.";
Interface.CommentUI.text = "Let's go to the map!";
_JailPlayer.PlayVideo = false;
_CaseManager.ContinueToRound3();
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All,
@@ -368,11 +374,16 @@ public class GameManagerRound2 : GameManagerBase
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "PlaySFX", SFXEventType.FogHorn);
SendCustomEventDelayedSeconds(nameof(PlayCrookInJail), 1.5f);
}
public void PlayCrookInJail()
{
_JailPlayer.PlayVideo = true;
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "PlayCrookInJail", _CaseManager.GetCrook());
SendCustomEventDelayedSeconds(nameof(HideJailChain), 1.5f);
}
public void HideJailChain()
{
_JailChain.Show = false;
}
public void PlayJailCallAfrica()