- Added position markers for host and players during each round.
- Current player list updated to podium owners when round 1 is loaded. - Rewrote video player code to hopefully load videos more reliably on restarts. - Round 3 timer should no longer continue running when a new round is loaded. - Overlays from round 3 now properly disable when a new round is loaded. - Fixed cameras erroneously resetting to round 3 positions on new game start.
This commit is contained in:
@@ -123,15 +123,19 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
|
||||
base.OnDeserialization(Result);
|
||||
}
|
||||
|
||||
public void LoadLists(VRCUrl[] Maps, VRCUrl[] Videos)
|
||||
public void PrepareMapsAndVideos(CaseManager Manager)
|
||||
{
|
||||
_LoadLists(Manager.GetMaps(), Manager.GetVideos());
|
||||
SetVideoIndex(Manager.GetIntroVideo());
|
||||
}
|
||||
|
||||
private void _LoadLists(VRCUrl[] Maps, VRCUrl[] Videos)
|
||||
{
|
||||
_CaseMapsList = Maps;
|
||||
_ReloadMapList();
|
||||
|
||||
_CaseVideoList = Videos;
|
||||
_ReloadVideoList();
|
||||
|
||||
RequestSerialization();
|
||||
}
|
||||
|
||||
private void _ReloadMapList()
|
||||
|
||||
Reference in New Issue
Block a user