Unity OpenXR Sample

This page explains how to use the sample bridge script with your Unity headset project.

What the sample does

  • Starts native XR session against WeAD backend.
  • Sends recurring gaze telemetry events with confidence and dwell values.
  • Ends session on application close.

Integration steps

  • Open the sample code from /static/openxr-unity-bridge-sample.cs.
  • Set baseUrl, apiKey, and placementId.
  • Attach script to a GameObject in your test scene.
  • Run in Play Mode, then deploy to headset for real-world pass.