I'm working on a VR app that supports Vive and Oculus. With Unity 5.3 we could use the native VR support for Oculus and the OpenVR plugin for Vive and our build scripts turn things on and off as appropriate.
Unity 5.4 added a list of "Virtual Reality SDKs" to the Player Settings. These are serialized in `ProjectSettings.asset` in a section that looks like this:
Programatically switching supported VR SDKs
Unity 5.4 added a list of "Virtual Reality SDKs" to the Player Settings. These are serialized in `ProjectSettings.asset` in a section that looks like this:
Code (asset):
- vectorPropertyNames:
- ...
- - Standalone::VR::enabledDevices
- ...
- Standalone::VR::enabledDevices:
- - Oculus...