XR Interaction Toolkit for AR in Unity
•
•
Functionalities provided by the XR Interaction Toolkit for AR:
–
Gesture system to map screen touches to gesture events.
–
Translate gestures (place, select, translate, rotate, and scale) into
object manipulation.
Setup:
1
. Install the "XR Interaction Toolkit" in the
Package Manager (Window -> Package
Manager).
Add the package by name: com.unity.xr.interaction.toolkit
2
3
. Add an "AR Gesture Interactor" component to
the "AR Camera" GameObject.
. Add an "XR Interaction Manager" component
to the "AR Session" GameObject.