Exemple #1
0
        private static IEnumerator WaitForEndOfFrame_Async(WaitForEndOfFrameRequest rRequest)
        {
            yield return(new WaitForEndOfFrame());

            rRequest.SetResult(rRequest);
        }
Exemple #2
0
        public static IAsyncOperation <WaitForEndOfFrameRequest> WaitForEndOfFrame()
        {
            var rRequest = new WaitForEndOfFrameRequest();

            return(rRequest.Start(WaitForEndOfFrame_Async(rRequest)));
        }