예제 #1
0
    IEnumerator Pushing(Texture outputBuffer)
    {
        yield return(new WaitForEndOfFrame());

        while (isPushing)
        {
            yield return(new WaitForEndOfFrame());

            encoder.EncodeFrame((RenderTexture)outputBuffer);
        }
    }