Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Button to disable Google Cardboard VR mode through all scenes

$
0
0
The Google Cardboard demo comes with an option to toggle the virtual reality mode.

public void ToggleVRMode() {
Cardboard.SDK.VRModeEnabled = !Cardboard.SDK.VRModeEnabled;
}

I'd like to create a menu / button with a script which disables VR mode throughout all my scenes - is this possible?

Any help would be appreciated

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>