# Unity for XREAL template

> A native Unity project for XREAL glasses: Project Aura through Android XR out of the box, XREAL One and Air through the XREAL SDK you add; hands, gaze and the real room, built as an Android app.

Source: https://graspable.dev/templates/unity-xreal

Plan: Pro and higher. See https://graspable.dev/pricing.md.

## What you start with

Unity 6 + OpenXR + Android XR profile, XREAL SDK optional, in a Unity 6 project with a Graspable kit of scripts and prefabs. It is an ordinary Unity project in a folder on your computer, built with your own Unity.

## Where it runs

Meta Quest 3 and 3S, Meta VR Glasses, Android XR headsets and XREAL glasses, as an Android app you build from Graspable and install over USB. Play mode in the Unity Editor stands in for the headset while you work.

Native setup: https://graspable.dev/docs/native-xr.md

## Requests to try

- A heads-up cooking timer: three timers floating at the edge of my view that I start with a pinch, each with a soft chime.
- Floating labels on real things: pinch on an object to put a label there, look at a label to read it, pinch again to remove it.
- A walking tour marker: place arrows on the floor with a pinch, and a label that says how far the next arrow is.
- A tiny workbench: a ball to grab and a button to change its colour, placed on whatever real table I pinch on.
- A gaze-driven menu: four cards in front of me that open when I look at one for a second and close when I look away.

## How a run ends

The agent edits the project on your computer. A run ends only when it compiles and runs in play mode without errors.

## Examples

- [Pick by vision for a warehouse](https://graspable.dev/a/opduwujd): The next pick stays in view on a strip that follows your head, the right bin lights up, and a pinch confirms it.

## Start a project

Get Graspable at https://graspable.dev/download. Choose Unity for XREAL when creating a project. For an existing agent, see https://graspable.dev/docs/use-with-ai-agents.md.
