Example #1
0
        private void TakeSelfie()
        {
            MarkActivity();
            Seamstress.Selfie();
            SelfieCam.enabled = true;
            // Since it hasn't been updating, we force a rerender
            SelfieCam.Render();

            string fn = GetNextSelfieFilename();

            ExportRT(SelfieCam.targetTexture, fn);
            Debug.Log(string.Format("Saved selfie to {0}", fn));

            SelfieCam.enabled = false;
        }