private IEnumerator UpdatePlugin() { while (true) { yield return(new WaitForEndOfFrame()); GL.IssuePluginEvent(WebcamInterop.GetRenderCallback(), 0); } }