Beispiel #1
0
 void OnRenderImage(RenderTexture src, RenderTexture dest)
 {
     ShareRECImpl.AddCameraRecord(src);
     if (!ShareRECImpl.IsRecordGUILayer())
     {
         ShareRECImpl.OnPostRender();
     }
 }
Beispiel #2
0
        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
 }
        IEnumerator OnPostRender()
        {
            yield return(new WaitForEndOfFrame());

            ShareRECImpl.OnPostRender();
        }