Manage Assets Remotely With Clothing Simulator
Tags: tutorial, programming, unity3d, cloud
Published: 2022-10-08 01:18:09

![](https://miro.medium.com/max/1400/1*7Dd-4GmLyMKMAK8VMoANAA.jpeg)You can use Unity and [echo3D](http://www.echo3d.co) to create smaller, scalable and dynamic 3D/AR/VR applications — move your 3D assets to the cloud, manage & stream 3D content remotely, and publish updates easily and frequently. There’s no need to rebuild the app and have players download an update — you can quickly and easily swap out models remotely. Simply upload the assets to the echo3D cloud and reference them with an API key.

In this project, you will randomly choose a top to match these pants in Unity.

<center>![](https://miro.medium.com/max/784/1*vERke0UsB5wtAle5G95drQ.gif)</center>

***
<center> Scan this QR code or click this **https://go.echo3d.co/3i5D** to see this for yourself!

![](https://miro.medium.com/max/1400/1*h-Knvpnttj232hBpoWOypg.png)</center>

***

Register
========

Don’t have an API key? Make sure to register for FREE at [echo3D](https://console.echo3d.co/#/auth/register).

Version
=======

[Unity 2020.3.25 LTS](https://unity3d.com/get-unity/download/archive)

Steps
=====

*   Clone the [repo here](https://github.com/echo3Dco/Unity-echo3D-Demo-WhatToWear).
*   Download and import the echo3D [Unity SDK](https://docs.echo3d.co/unity/installation). Troubleshoot [here](https://docs.echo3d.co/unity/troubleshooting?q=newton).
*   Download the 3D model(s) from the Assets/Models folder in the project: Pants, Top1, Top2 and Top3.
*   Go to echo3D console and [click “Add to Cloud”](https://docs.echo3d.co/quickstart/add-a-3d-model) and upload the models.
*   Open the _SampleScene_ scene.
*   [Uncheck](https://docs.echo3d.co/web-console/deliver-pages/security-page) the “Enable Secret Key” box in your console or [add the echo3D API key](https://docs.echo3d.co/web-console/deliver-pages/security-page) to the echo3D.cs script so the objects can appear in Unity.
*   [Set the API key](https://docs.echo3d.co/quickstart/access-the-console) on the echo3D script using the Inspector for the Pants, Top1, Top2 and Top3 objects in the Hierarchy.

![](https://miro.medium.com/max/1400/0*1F3P8TM03kQX4URX)![](https://miro.medium.com/max/664/0*O5RZqAvK180-vALe)

*   [Add the metadata](https://docs.echo3d.co/web-console/manage-pages/data-page/how-to-add-data#adding-metadata) for the models in the echo3D console so they fit on top of the pants.

Run
===

Press Play in Unity and hit Space to change tops.

Screenshots
===========

![](https://miro.medium.com/max/790/1*hbWtq8zq2MMOZ2sla9Gf0Q.jpeg)![](https://miro.medium.com/max/790/1*LGScSO_igfGqqdltLO4jlQ.jpeg)![](https://miro.medium.com/max/790/1*tjIh40DdniOFCMo0hAerug.jpeg)

Switch Out Assets (Optional)
============================

If you want to switch out your assets remotely through the echo3D cloud, here’s how!

*   Find new asset in the echo3D console (You can upload your own or choose from our library)

![](https://miro.medium.com/max/1200/0*MOCOU-yZqFn7-TzW)

*   Get the API key and entry ID

![](https://miro.medium.com/max/1400/0*OyMrtGsBlXejyjVd)

*   Swap them out on the echo3D script in the Unity Hierarchy and see your assets change when you run in Play mode.

Learn More
==========

Refer to our [documentation](https://docs.echo3d.co/unity/) 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](https://go.echo3d.co/join). Share yours with us! We’d love to share it. Send it to Bebe@echo3d.co.

Troubleshooting
===============

Visit our troubleshooting guide [here](https://docs.echo3d.co/unity/troubleshooting#im-getting-a-newtonsoft.json.dll-error-in-unity).

More Tutorials
==============

To learn how to make other similar projects, try one of these:

*   [Make a Tarot Card Game in Unity (Free Tutorial)](https://www.echo3d.co/post/make-a-tarot-card-game-in-unity-free-tutorial)
*   [Make a 2D Space Shooter Game: Asteroid Ambush in Unity (Tutorial)](https://www.echo3d.co/post/make-a-2d-space-shooter-game-asteroid-ambush-in-unity-tutorial)
*   [Make a Ping Pong Game in Unity (Tutorial)](https://www.echo3d.co/post/make-a-ping-pong-game-in-unity-free-tutorial)
*   [Recent News in 3D, AR, VR & Metaverse](https://www.echo3d.co/post/recent-news-in-3d-ar-vr-metaverse)

***

>_echo3D ([www.echo3D.co](http://www.echo3d.co/); Techstars 19’) is a cloud platform for 3D/AR/VR that provides tools and network infrastructure to help developers & companies quickly build and deploy 3D apps, games, and content._

![](https://miro.medium.com/max/1400/0*r3L_9HrImZW1fyJ_)