示例#1
0
        /// <summary>
        /// Need to run as a coroutine as we have to wait until the output buffer is ready for reading.
        /// </summary>
        public IEnumerator TakeScreenshotCoroutine()
        {
            yield return(new WaitForEndOfFrame());

            ScreenSnapshot = TransitionHelper.TakeScreenshot();
        }