Cameras during Round 1 are now mostly automated. Still needs work, though.
This commit is contained in:
@@ -415,6 +415,24 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
|
||||
base.OnVideoEnd();
|
||||
}
|
||||
|
||||
public float GetVideoDuration()
|
||||
{
|
||||
if (_VideoPlayer.IsReady || _VideoPlayer.IsPlaying)
|
||||
{
|
||||
return _VideoPlayer.GetDuration();
|
||||
}
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
public float GetVideoTime()
|
||||
{
|
||||
if (_VideoPlayer.IsPlaying)
|
||||
{
|
||||
return _VideoPlayer.GetTime();
|
||||
}
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
public void SetVideoLoadStatus(IndicationStatus Status)
|
||||
{
|
||||
foreach (VideoLoadIndicator Indicator in _VideoLoadIndicators)
|
||||
|
||||
Reference in New Issue
Block a user