IEnumerator _FinalSequence() { yield return(new WaitForSeconds(blackFadeOutTime)); Debug.Log("Starting final sequence"); GvrDaydreamApi.LaunchVrHome(); yield return(new WaitForSeconds(0.5f)); Application.Quit(); }
public void LaunchVrHome() { #if UNITY_HAS_GOOGLEVR && UNITY_ANDROID && !UNITY_EDITOR GvrDaydreamApi.LaunchVrHome(); #endif // UNITY_HAS_GOOGLEVR && UNITY_ANDROID && !UNITY_EDITOR }