Skip to content

Commit

Permalink
Merge pull request #19 from Raicuparta/il2cpp-fixes-aaaaaaaa
Browse files Browse the repository at this point in the history
Default to overlay UI for older games
  • Loading branch information
Raicuparta authored Jun 16, 2024
2 parents 0621fe4 + 870b0c8 commit e12394a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Uuvr/ModConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,13 @@ public ModConfiguration(ConfigFile config)
PreferredUiRenderMode = config.Bind(
"UI",
"Preferred UI Plane Render Mode",
#if MODERN
UiRenderMode.InWorld,
"How to render the VR UI Plane. Overlay is usually better, but does't work in every game.");
#else
// Ideally we'd do overlay in all games but that mode can cause a lot of issues.
// Most of the issues seem to be in more recent games, so at least for legacy we can default to overlay.
UiRenderMode.OverlayCamera,
#endif
"How to render the VR UI Plane. Overlay is usually better, but doesn't work in every game.");
}
}

0 comments on commit e12394a

Please sign in to comment.