unity-xr
Installation
SKILL.md
Unity XR Interaction Toolkit Skills
XR Interaction Toolkit setup and configuration. Every xr_* skill is reflection-based and supports XRI 2.x on Unity 2022 and XRI 3.x on Unity 6 and later. Parameters come from the schema (GET /skills/schema?names=<skill>&wire=v2); execution and dryRun rules: root SKILL.md.
Requires
com.unity.xr.interaction.toolkit. When it is missing, everyxr_*skill returns theNoXRI()install instruction instead of running.
When to use
- Building VR or AR interaction
- Setting up an XR rig
- Configuring grab, socket or ray interactors
Rules
- Read this module before the first
xr_*call in a session. Wrong property names can fail silently, because the bridge is reflection-based. - Property names on XRI components must match XRI 2.x and 3.x exactly. A wrong field name on
xr_configure_interactableorxr_configure_hapticsis ignored without an error. Check detailed property edits in api-reference. xr_configure_interaction_layerstakes layer names or an integer mask, and rejects undefined names.- Most locomotion skills assume an
XROriginalready exists. - Setup, collider rules, class names and version differences: setup-and-colliders.
- For non-XR Canvas UI use the ui module. For XR gameplay architecture load advisory modules such as
architecture,patterns,asyncorscriptdesign.