Skip to content

echo3Dco/Unity-echo3D-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity-echo3D-Demo

Here is how to use the echo3D Unity SDK. There are 2 ways depending on if your project is new or existing. We have done most of the setup for you in the SampleScene scene, all you have to do is try out both methods and add the API key & Entry ID.

Video

https://youtu.be/98bebj0g674

Setup

Steps

The echo3D Unity SDK is now ready to be used! There are 2 ways to implement it.

Option 1: If you’re integrating echo3D into an existing project

  • Drag the Echo3DHologram.cs script onto the game object that you want to host on the echo3D cloud.

APIKeyAndParentPrefabGIF

  • On the Echo3DHologram.cs prefab, set the API key and Entry ID from the Inspector.

  • Turn off the Mesh Renderer, or else you will have duplicate 3D objects at runtime. This allows all existing modifications in the Inspector to apply to the echo3D asset.

  • Drag the Echo3DService prefab into the Hierarchy.

Option 2: If you’re starting a Unity project from scratch

  • Drag both Echo3DHologram and Echo3DService prefabs into the Hierarchy from inside Packages/echo3D Unity SDK/Prefabs.

  • On the Echo3DHologram prefab, set the API key and Entry ID from the Inspector.

You have successfully connected the echo3D SDK! To see it in action, press Play in Unity. See below for more tools to manage your 3D asset in Unity.

  • Type your Secret Key as the value for the parameter secKey in the file Packages/co.echo3D.unity/Runtime/Echo3DHologram.cs. (Note: Secret Key only matters if you have the Security Key enabled). You can turn it off in the Security options in your echo3D console. NEWSecKey2

  • (Optional) To move or edit the assets live in your project, check the boxes for “Editor Preview” and “Ignore Model Transforms”. At the top of your project, click Echo3D > Load Editor Holograms
    EditorPreviewAndIgnoreModelTransforms
    LoadHolograms

Run

In Unity, go into Play mode.

Learn more

Refer to our documentation to learn more about how to use Unity and echo3D.

Support

Feel free to reach out at support@echo3D.co or join our support channel on Slack.

Troubleshooting

Visit our troubleshooting guide here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published