예제 #1
0
 void OnRenderImage(RenderTexture src, RenderTexture dest)
 {
     ShareRECImpl.AddCameraRecord(src);
     if (!ShareRECImpl.IsRecordGUILayer())
     {
         ShareRECImpl.OnPostRender();
     }
 }
예제 #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
 }