In android Gear Vr, is it possible to launch an application in normal/phone mode, and then have it transition to Unity/VR when the user clicks a button to go into VR?
So far the app either launches completely in VR with “vr_only” as an option, or launches normally and goes to Oculus Home when we try “vr_both” or “vr_dual”.
Is such a thing possible, or will we have to make two separate apps?
I’m only unsing google vr, but maybe my solution could work for you too. I’m guessing gear vr works similar.
This is how I did this. In the main menu of my game I made a button “switch to vr mode”. When the player clicks this option I reload the current scene and instantiate the gvrViewer Prefab (which makes the camera a stereo cam and activates headtracking) and I set my boolean vrMode variable in my gamemanager object to true. When the player starts the game and vrMode is true, I instantiate the gvrViewer and when it’s false I do not.