- ACME Crimenet Computer can now show messages that only the host can see.
- Added a doorway between the spawn room and the control room. - Video load indicators set to a hidden position by default. - Renamed "Assorted Textures" folder to "Assorted"; they're not textures. - Removed superfluous debug statements from CaseVideoSyncPlayer.
This commit is contained in:
@@ -236,9 +236,7 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
|
||||
{
|
||||
if (FlashCorrectAnswer)
|
||||
{
|
||||
Debug.Log("[CaseVideoSyncPlayer] Flashing correct answer.");
|
||||
SubMapIndex = (SubMapIndex == 4) ? 3 : 4;
|
||||
Debug.Log("[CaseVideoSyncPlayer] New submap is " + SubMapIndex);
|
||||
_UpdateMap(false);
|
||||
SendCustomEventDelayedSeconds(nameof(NextCorrectAnswerFrame), 0.2f);
|
||||
}
|
||||
@@ -254,12 +252,9 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
|
||||
|
||||
private void _UpdateMap(bool Sync = true)
|
||||
{
|
||||
Debug.Log("[CaseVideoSyncPlayer] Now inside _UpdateMap()");
|
||||
int MapPage = SubMapIndex / IMAGES_PER_MAP_ATLAS;
|
||||
Debug.Log("[CaseVideoSyncPlayer] Map page: " + MapPage);
|
||||
if (MapPage < _MapImages.Length)
|
||||
{
|
||||
Debug.Log("[CaseVideoSyncPlayer] Updating submap.");
|
||||
_UpdateSubMap(MapPage);
|
||||
ShowScreen = ClueScreenType.Map;
|
||||
}
|
||||
@@ -271,9 +266,7 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
|
||||
}
|
||||
private void _UpdateSubMap(int MapPage = -1)
|
||||
{
|
||||
Debug.Log("[CaseVideoSyncPlayer] Now inside _UpdateSubMap()");
|
||||
int SubmapIndexWrapped = SubMapIndex % IMAGES_PER_MAP_ATLAS;
|
||||
Debug.Log("[CaseVideoSyncPlayer] Wrapped submap index: " + SubmapIndexWrapped);
|
||||
switch (SubmapIndexWrapped)
|
||||
{
|
||||
case 0: _MapScreenMaterial.SetVector("_MainTex_ST", new Vector4(0.5f, 0.33333333f, 0.0f, 0.66666666f)); break;
|
||||
|
||||
Reference in New Issue
Block a user