Update() { if (!playing) { return; } // We may not receive length the first time if (length == formatMsToStr(0)) { length = formatMsToStr(UseRenderingPlugin.getLengthVLC()); } // Format actual time and concate it to length string pos = formatMsToStr(UseRenderingPlugin.getTimeVLC()); txt.text = pos + "\n" + length; }
void OnPostRender() { Debug.Log("" + Cam.projectionMatrix); UseRenderingPlugin.CameraPostRender(); }