Session configuration samples
The AR Foundation Samples repository provides sample scenes to how to configure your AR Session. You can open these samples in Unity from the Assets/Scenes
folder.
Check support scene
The Check Support
scene demonstrates how to check for AR support and logs the results to the screen.
Refer to the SupportChecker script to understand the example code.
Debug menu scene
The Debug Menu
scene allows you to visualize trackables and configurations on device.
Configuration chooser scene
The Configuration Chooser
scene demonstrates how to use the AR Foundation ConfigurationChooser to swap between rear and front-facing camera configurations.