private void MaybeRenderFrame()
 {
     if (castRemoteDisplayExtension != null &&
         (!isApplicationPaused || remoteDisplayTextureUpdated) && isCasting)
     {
         castRemoteDisplayExtension.RenderFrame();
         remoteDisplayTextureUpdated = false;
     }
 }
 private void MaybeRenderFrame()
 {
     if (castRemoteDisplayExtension != null &&
         (!isApplicationPaused || remoteDisplayTextureUpdated) && isCasting)
     {
         castRemoteDisplayExtension.RenderFrame();
         remoteDisplayTextureUpdated = false;
         Debug.Log("MaybeRenderFrame:RENDER");
     }
     else
     {
         Debug.Log("MaybeRenderFrame:NOT RENDER");
     }
 }