C# · Programming · VR

Launching a Unity (2019 only) exe in either VR or non-VR mode with a command line argument

Before I get into this, it turns out that Unity have changed how this works in Unity 2020 (possibly by accident, by who knows?) .. so if you’re using Unity 2020 you will need to do things differently. Thankfully, I’ve written up a post about doing that right here. Otherwise, if you’re using Unity 2019… Continue reading Launching a Unity (2019 only) exe in either VR or non-VR mode with a command line argument

C# · Programming · VR

A Script for Controllers (Vive/Index/Oculus) to Use with OpenXR in Unity 2020

OpenXR allows us to use the same code for multiple controllers without modification. That’s great, but figuring out how to implement them is tricky. You first need to subscribe to specific types of device connections and disconnections. When a device connects, you need to check it to make sure that it has the characteristics of… Continue reading A Script for Controllers (Vive/Index/Oculus) to Use with OpenXR in Unity 2020