“Adopt A Pet” in 3D — Swap Out Assets in Real Time in Unity
Updated: May 9
Swap out assets in real time in Unity! Here we simulated a virtual pet adoption. Adopt a dog or cat (or both) from the animal shelter. All you have to do is change the entry ID of each asset (cat or dog) for them to appear.
Don’t have an echo3D account? Register for FREE at echo3D.
Follow along with the video here:
Clone the repo
Install the echo3D Unity SDK
Download the 3D models from the Models folder in the project
Go to echo3D console and click “Add to Cloud” and upload the models
Add this metadata to each asset:
Open the SampleScene in Unity
Drag the echo3D_Animal and echo3D_Kennel prefabs into the Hierarchy
Add the API key and entries ID on the echo3D object in the Hierarchy using the the Inspector. Swap them out between Play Modes to see them change in real time.
Play in Unity to see the asset materials in real time from the echo3D console
Refer to our documentation to learn more about how to use Unity and echo3D.
For more easy tutorials, check these out:
echo3D (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.