Esempio n. 1
0
    IEnumerator _FinalSequence()
    {
        yield return(new WaitForSeconds(blackFadeOutTime));

        Debug.Log("Starting final sequence");

        GvrDaydreamApi.LaunchVrHome();
        yield return(new WaitForSeconds(0.5f));

        Application.Quit();
    }
Esempio n. 2
0
    public void LaunchVrHome()
    {
#if UNITY_HAS_GOOGLEVR && UNITY_ANDROID && !UNITY_EDITOR
        GvrDaydreamApi.LaunchVrHome();
#endif  // UNITY_HAS_GOOGLEVR && UNITY_ANDROID && !UNITY_EDITOR
    }