void OnRenderImage(RenderTexture src, RenderTexture dest) { ShareRECImpl.AddCameraRecord(src); if (!ShareRECImpl.IsRecordGUILayer()) { ShareRECImpl.OnPostRender(); } }
IEnumerator OnPostRender() { yield return(new WaitForEndOfFrame()); if (ShareRECImpl.IsRecordGUILayer()) { ShareRECImpl.OnPostRender(); } }
IEnumerator OnPostRender() { yield return(new WaitForEndOfFrame()); #if (!UNITY_5_6_OR_NEWER) if (ShareRECImpl.IsRecordGUILayer()) { ShareRECImpl.OnPostRender(); } #endif }
void OnRenderImage(RenderTexture src, RenderTexture dest) { ShareRECImpl.AddCameraRecord(src); #if (UNITY_5_6_OR_NEWER) ShareRECImpl.OnPostRender(); #else if (!ShareRECImpl.IsRecordGUILayer()) { ShareRECImpl.OnPostRender(); } #endif }