SDK for Unity
Last edited: 18/08/2022
This super easy guide provides steps to help you get started with the PhantomEngine.
Before you get started, you’ll first need to follow the Installation Guide on the Downloads page.
We recommend using Unity 2020.3.7f1 or later. Previous versions of Unity may be incompatible.
If you're having issues with the installer, try this manual setup guide.
Create Scene From Templates
In the top left corner of the window, select File -> New Scene
PhantomEngine SDK comes with 2 templates out-of-the-box. We recommend the "Sample AR Experience" template if you're just getting started. Select the template you wish to use and then click Create.
Save Template as a Scene
Make sure you Save the scene in Assets -> Scenes folder.
The scene will look like this once it's loaded.
AR Device Simulator
This scene comes with a mockup environment to help you visualise and test AR functionalities within the editor. We recommend you set up the Scene and Game windows side-by-side to make it easier to simulate a mobile AR experience.
Run the Experience
Press the Play button and navigate around the environment in the Scene window. You can press Show Mesh to see how PhantomEngine is Spatial Mapping, or press Throw to experience a cube colliding with the generated mesh in real-time.