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