Daydream Non-VR Mode in Unity 5.4.2f-GVR13 [duplicate]

柔情痞子 提交于 2019-12-10 22:15:21

问题


last week I tried to integrate my Unity project to Daydream, the integration went fine.

Now I am trying to seperate the first scenes (which include login process so I need the android soft-keyboard) from the rest of the application - I want the application to open like any android-non-vr application and to switch to VR mode only after the first two scenes.

I read in some answer by Unity staff member that by adding "none" before "Daydream" in the "Virtual Reality Supported" settings the application starts in a non-VR mode.

Virtual Reality Supported settings

and now I am trying to switch in runtime to VR mode through C# script.

By now I tried to change "VR Mode Enable" of the GvrViewerMain in Runtime but It doesn't switching the application to VR Mode.

Does anyone know how/if it can be done?


回答1:


Change your minimum api level in build setting to Android 7.0 'Nougat'.



来源:https://stackoverflow.com/questions/41299714/daydream-non-vr-mode-in-unity-5-4-2f-gvr13

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!