Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus Provider updated to only create UIRaycast camera when NOT in XR #95

Merged
merged 3 commits into from
Oct 16, 2023

Conversation

SimonDarksideJ
Copy link
Contributor

Reality Collective - Reality Toolkit Pull Request

Overview

In XR Scenarios the UIRaycastCamera is not required as all Canvases use a WorldSPace canvas in the world.

The UI RaycastCamera is only needed in situations that do NOT use XR.

Changes

  • UIRayCast camera only enabled if NOT in XR

@SimonDarksideJ SimonDarksideJ requested a review from FejZa as a code owner October 16, 2023 15:58
@SimonDarksideJ SimonDarksideJ self-assigned this Oct 16, 2023
@SimonDarksideJ SimonDarksideJ merged commit 8bd84e9 into development Oct 16, 2023
5 checks passed
@SimonDarksideJ SimonDarksideJ deleted the feature/disableuiraycastcamerainXR branch October 16, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants