Ejemplo n.º 1
0
    private IEnumerator CallbackCoroutine()
    {
        while (true)
        {
            yield return(waitForEndOfFrame);

#if UNITY_ANDROID && !UNITY_EDITOR
            DK2Manager.DoTimeWarp(timeWarpViewNumber);
#else
            display.EndFrame();
#endif
        }
    }
Ejemplo n.º 2
0
 /// <summary>
 /// Leaves the application/game and returns to the launcher/dashboard
 /// </summary>
 public void ReturnToLauncher()
 {
     // show the platform UI quit prompt
     DK2Manager.PlatformUIConfirmQuit();
 }