Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and refactors across the XR rig setup and passthrough management codebase, as well as updates to package dependencies. The main changes include exposing passthrough controls in
StylyXrRig, refactoring access levels for passthrough methods, updating Unity package dependencies, and improving SDK setup menu organization.Passthrough Management Refactor:
StylyXrRigby adding a public property and methods that delegate toPassthroughManager, allowing external scripts to switch between VR and MR modes. Initialization ofPassthroughManageris now handled inAwake. [1] [2]PassthroughManager'sPassthroughModeproperty andSwitchToVR/SwitchToMRmethods from public to internal for better encapsulation. [1] [2]SDK Setup Menu Improvements:
[MenuItem]attributes inSetupSdkMenu.csto use theSTYLYmenu root instead ofFile, improving discoverability and consistency in the Unity editor. [1] [2]Package Dependency Updates:
com.unity.toolchain.win-x86_64-linux-x86_64(version 2.0.10) to bothmanifest.jsonandpackages-lock.json, ensuring Windows toolchain support for cross-platform builds. [1] [2]com.unity.xr.openxr@1.14.3) for PC VR development setup, improving reliability of SDK installation.These changes collectively enhance the modularity, maintainability, and usability of the XR rig setup and passthrough management system.