Ejemplo n.º 1
0
        public IEnumerator RequestExitSession()
        {
            InitializeAndStart();

            // Wait for a single XrFrame to make sure OpenXR is up and running
            yield return(new WaitForXrFrame());

            // Request the session exit which should shutdown OpenXR
            MockRuntime.RequestExitSession();

            // Wait for OpenXR to shutdown
            yield return(new WaitForLoaderShutdown());
        }