- Create a new Unity project.
- Import Unity ARKit Plugin (uncheck the
Examples/
dir). - Change build target to iOS.
- Delete all Unity ARKit Plugin scenes from build settings.
- Import ARKitObjectController
- Create a new scene.
- Create an empty parent game object and attach ARKitObjectController.
- Create a new 3D cube, scale properly (Unity units are 1 meter) and make a child of the parent game object.
- Add new scene to build settings.
- Build and run.
- Add button to call
ARKitObjectController.InvaidatePlane
. - Add UI text to show the accuracy of the visible plane.