Hi there.
I'm currently working in an application for android which should change at runtime from vr mode enabled to disabled to allow the user using the device with cardboard for 3d effect or without cardboard for a kind of magic window.
So basicly I have a function like this:
Crash in android when changing VRSettings.enabled
I'm currently working in an application for android which should change at runtime from vr mode enabled to disabled to allow the user using the device with cardboard for 3d effect or without cardboard for a kind of magic window.
So basicly I have a function like this:
Code (CSharp):
- public IEnumerator LoadDevice(string newDevice, bool vrModeActive)
- {
- if (!VRSettings.loadedDeviceName.Equals(newDevice))
- {