This section is the third out of the 4 steps to the Get Started guide to create a Unity Desktop AR app using the Holo-SDK. You should have your computer for a Desktop AR system and have a Holo-SDK license before starting this section. If you haven't, visit Get Started.
Create a Unity project for Holo-SDK
Holo-SDK is a Unity-plugin for developing a Desktop AR application. You need to have Unity installed on your system before continue. If not, go to Unity website to download and install the software engine on your computer.
- In Unity, create a new Unity project, choose 3D project.
- Navigate to
C\:HoloSDK, in the folder, you will see the folder called
Unity, drag the folder
HoloUnitySDKto be under
HoloUnitySDK, and locate the
Make Your Applications
HoloUnitySDK, you will see
Settings Canvas. Expand
HoloStage, you will see
Put all of your objects under
HoloObjects for any objects that you want to create holographic effects.
Settings Canvas object is part of
HoloUnitySDK. This prefab cannot be modified, and it is used for obtaining and modifying a number of parameters required for running holographic applications. You can leave
Settings Canvas objects as they are. You can learn more about each Holo-SDK Unity Components at Holo-SDK Manual: Unity Components.
- [Optional] You can disable the
Is Scroll Wheel Is onin the
HoloOcta is a mouse pointer that can control your application in a 3D environment so that you can control the pointer in z- direction. If you disable
HoloOcta you will not be able to control the pointer in the z-direction. See the detail of
HoloOcta in HoloUnitySDK.
Adding a Sample Model
HoloUnitySDK comes with a sample scene to help you get started in making your Holo-Apps. So let's add a model from the sample scene to your project.
- Locate the
Assets > HoloUnitySDK > HoloPrefabsfolder.
- Add the
ExampleModelprefab into your project's scene as a child of
- You should the example model appearing in front of the
To recap, we have now created a Unity project. Then, we have added the prefabs from the Holo-SDK to the project. Lastly, we added some models into the project under the
HoloObjects prefab in the scene.
In the next step, we will run the application and play with it in a Desktop AR environment.