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

How to enable VR programmatically

$
0
0
I am trying to set the stereoscopic VR mode programmatically in Unity for an app deployed to an Android device, but it does not seem to be doing anything :

public void Awake() {
Debug.LogError ("ENABLING VR");
UnityEngine.VR.VRSettings.enabled = true;
}

I get the log confirmation, but no change in the mode.

Viewing all articles
Browse latest Browse all 12131

Trending Articles



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