// Plays the video texture public void Play() { if (enableAudio) { myAudio.frameIndex = index; myAudio.Sync(); myAudio.UnMute(); myAudio.Play(); } playState = UVT_PlayState.Playing; UpdatePlayFactor(); }
// Plays the video texture public void Play() { enableGUI = true; if (enableAudio && playDirection == UVT_PlayDirection.forward) { myAudio.frameIndex = index; myAudio.Sync(); myAudio.UnMute(); myAudio.Play(); } playState = UVT_PlayState.Playing; UpdatePlayFactor(); }