- All data files moved to the BunnyCDN servers.
- Added all the rest of the In Jail sounds for all crooks. - Adjusted format of the ACME Crimenet Computer presentation JSON. - Cameras are now properly deactivated when cameras are disabled.
This commit is contained in:
@@ -22,6 +22,11 @@ public class FullCameraSystem : UdonSharpBehaviour
|
||||
|
||||
_CameraSystem.gameObject.SetActive(true);
|
||||
_CameraSystem.Authorize();
|
||||
|
||||
foreach (Camera Cam in _CameraSystem.camerasObjects)
|
||||
{
|
||||
Cam.gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
|
||||
public void CameraDisabled()
|
||||
@@ -35,5 +40,10 @@ public class FullCameraSystem : UdonSharpBehaviour
|
||||
|
||||
_CameraSystem.Deauthorize();
|
||||
_CameraSystem.gameObject.SetActive(false);
|
||||
|
||||
foreach (Camera Cam in _CameraSystem.camerasObjects)
|
||||
{
|
||||
Cam.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -355,9 +355,12 @@ public class GameManagerRound1 : GameManagerBase
|
||||
|
||||
string UntranslatedText = "";
|
||||
string TranslatedText = "";
|
||||
if (Presentation.ContainsKey("Untranslated Text Placeholder") && Presentation.ContainsKey("Translated Text"))
|
||||
if (Presentation.ContainsKey("Clue Text"))
|
||||
{
|
||||
UntranslatedText = Presentation["Clue Text"].String;
|
||||
}
|
||||
if (Presentation.ContainsKey("Translated Text"))
|
||||
{
|
||||
UntranslatedText = Presentation["Untranslated Text Placeholder"].String;
|
||||
TranslatedText = Presentation["Translated Text"].String;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user