Swap out 3D weapons using a space bar.
- Built with Unity 2021.2.7 (Note: The echo3D Unity SDK is supported in 2020.3.25 and higher.).
- Register for FREE at echo3D.
- Clone this repo to view the sample project. The SDK has already been installed. Just upload the models to the echo3D console and add the API key and entry IDs (see below).
- Download the 3D model(s) from the Models folder in the project.
- Go to echo3D console and click "Add to Cloud" and upload the models.
- Open the "SampleScene" scene.
- Set the API keys for the complimentary asset on the objects in the Hierarchy using the Inspector: Gatling, Sword, Revolver.
- If you have your secret key enabled, add the security key for each project to the Global.cs script as well.
- (Recommended) Preview and edit the echo3D asset in real time. To move, resize or edit the parent object for assets in Scene view, check the boxes for “Editor Preview” and “Ignore Model Transforms” on the echo3D script in Inspector. To enable this, click Echo3D > Load Editor Holograms in your Unity toolbar.
Press Play in Unity and hit the space bar to swap out the weapons.
Refer to our documentation to learn more about how to use Unity and echo3D.
Feel free to reach out at [email protected] or join our support channel on Slack.