I want to know at runtime if my cospaces app is running on the desktop, or in e.g. ClassVR. Is there a way to do this? The reason is that camera behaviour needs to be different in the two modes. As an example, I have code that makes the camera always face a particular item. This is great in Desktop mode, because the user can still move their mouse to click on other objects. But it is awful in VR mode because the user cannot direct their gaze to any other item to interact!
Thanks, David.