Removed the video sync ability to hopefully prevent videos from not playing.
This commit is contained in:
@@ -180,11 +180,18 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
|
||||
public override void OnVideoStart()
|
||||
{
|
||||
ShowScreen = ClueScreenType.Video;
|
||||
UpdateTimeAndOffset();
|
||||
//UpdateTimeAndOffset();
|
||||
|
||||
base.OnVideoStart();
|
||||
}
|
||||
|
||||
public override void OnVideoEnd()
|
||||
{
|
||||
ShowScreen = ClueScreenType.Blank;
|
||||
|
||||
base.OnVideoEnd();
|
||||
}
|
||||
|
||||
private void UpdateTimeAndOffset()
|
||||
{
|
||||
if (Networking.IsOwner(gameObject))
|
||||
@@ -212,7 +219,7 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
|
||||
|
||||
public void ClearScreen()
|
||||
{
|
||||
ShowScreen = ClueScreenType.Blank;
|
||||
ShowScreen = ClueScreenType.Blank;
|
||||
FlashCorrectAnswer = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user