diff --git a/Assets/UdonSharp/CaseVideoSyncPlayer.cs b/Assets/UdonSharp/CaseVideoSyncPlayer.cs index e2b9e41..85424ba 100644 --- a/Assets/UdonSharp/CaseVideoSyncPlayer.cs +++ b/Assets/UdonSharp/CaseVideoSyncPlayer.cs @@ -225,23 +225,23 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour { case ClueScreenType.Blank: { - _BlankScreenMesh.gameObject.SetActive(true); - _VideoScreenMesh.gameObject.SetActive(false); - _MapScreenMesh.gameObject.SetActive(false); + _BlankScreenMesh.transform.localPosition = new Vector3(0.0f, 0.0f, 0.0f); + _VideoScreenMesh.transform.localPosition = new Vector3(0.0f, -1000.0f, 0.0f); + _MapScreenMesh.transform.localPosition = new Vector3(0.0f, -1000.0f, 0.0f); break; } case ClueScreenType.Video: { - _BlankScreenMesh.gameObject.SetActive(false); - _VideoScreenMesh.gameObject.SetActive(true); - _MapScreenMesh.gameObject.SetActive(false); + _BlankScreenMesh.transform.localPosition = new Vector3(0.0f, -1000.0f, 0.0f); + _VideoScreenMesh.transform.localPosition = new Vector3(0.0f, 0.0f, 0.0f); + _MapScreenMesh.transform.localPosition = new Vector3(0.0f, -1000.0f, 0.0f); break; } case ClueScreenType.Map: { - _BlankScreenMesh.gameObject.SetActive(false); - _VideoScreenMesh.gameObject.SetActive(false); - _MapScreenMesh.gameObject.SetActive(true); + _BlankScreenMesh.transform.localPosition = new Vector3(0.0f, -1000.0f, 0.0f); + _VideoScreenMesh.transform.localPosition = new Vector3(0.0f, -1000.0f, 0.0f); + _MapScreenMesh.transform.localPosition = new Vector3(0.0f, 0.0f, 0.0f); break; } }