Comment on page
🧰
Using the SDK
Learn how to use our Unity SDK.
Let's start with something simple.
- 1.Open the
Prefabsfolder within theecho3D Unity SDKpackage folder and add theEcho3DServiceprefab to any scene where you wish to load assets.

2. Add the
Echo3DHologram prefab from the same folder to your scene. This is an empty game object with the
Echo3DHologram.cs script attached to it.You can also simply add the
Echo3DHologram.cs script to any existing game object.
3. In the Inspector View for the game object with the
Echo3DHologram.cs script, update the API Key field with your API key.

Your
API Key and Entry ID can be found in your console:
4. Type your Secret Key as the value for the parameter
secKey in the file Packages/co.echo3D.unity/Runtime/Echo3DHologram.cs.

6. Go back to Unity and hit the Play button.
The SDK will stream the 3D model into Unity.

All done! 🎉
Here's a tutorial that can guide you through the steps shown above:
The SDK includes a robust demo scene preconfigured to load assets (models, images, and videos) from our platform. Follow these steps to run the scene:
- 1.In the top menu, click
Windowand thenUnity Package Manager. - 2.Add the scene to your project by importing the package samples via the Unity Package Manager. Under
Packages - echo3Dselectecho3D Unity SDKand click Import on the right side of the screen.

2. A
Samples folder will be created within your project Assetsfolder. Open the Echo3DDemoscene.
3. Press "Play" to run the demo scene. Assets will stream and instantiate within the scene. Note: An internet connection is required.

All done! 🎉
Last modified 26d ago