Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

For SteamVR projects, show Desktop view before opening URLs #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JashanChittesh
Copy link
Contributor

SteamVR has an API call that shows the Steam Desktop in VR, so when a URL is opened in a browser, the player actually can see that. This obviously requires that SteamVR is available to the mod.io plugin. By encapsulating the code so that it's only compiled when the STEAM_VR conditional compilation symbol is set, it doesn't break anything if SteamVR is not available (but obviously also only has an effect when that symbol is set).

SteamVR has an API call that shows the Steam Desktop in VR, so when a URL is opened in a browser, the player actually can see that. This obviously requires that SteamVR is available to the mod.io plugin. By encapsulating the code so that it's only compiled when the STEAM_VR conditional compilation symbol is set, it doesn't break anything if SteamVR is not available (but obviously only has an effect when that symbol is set).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant