UX-Plane-AR
The objective of this project is to prepare a simplified version of Unity's AR Foundation Demos - UX Onboarding asset for plane detection based AR experiences.
Demo:
How to build?
- Use Unity 2019.4 and above
- Clone/Download and open the project in Unity
- Change the build platform to Android/iOS
- Settings for Android are already in place, just do a build and run. Check the AR Foundation specific platform settings for iOS.
Features:
-
Explore UXMain scene inside Assets/UX/Scenes to learn more. Included are the modified versions of
UIManager.cs
,ARUXReasonsManager.cs
, andARUXAnimationManager.cs
. -
FadeOffUI()
andFadeOnUI()
public functions can be called for animating the UI elements. -
ShowCrossPlatformFindAPlane()
function shows the UI elements for guiding users to scan the ground. -
ShowTapToPlace()
function shows the UI elements for interaction with the AR planes. -
ARUXReasonsManager.cs
script is tested to handle UI for the following runtime scenarios:
- Tracking initialisation
- Device moving fast
- Low lighting
- Low feature availability