Unity-echo3D-Demo-MusicMaker

Compose music by clicking different instruments and be a rockstar for a day!

Setup

  • Built with Unity 2020.3.25. (Note: The echo3D Unity SDK is supported in 2020.3.25 and higher.)
  • Register for FREE at echo3D.
  • Add the Unity SDK. Troubleshoot here.
  • Clone this repo.

Steps

  • Add these models to the echo3D console from the Unity Assets/Models folder:
    - DrumFramed
    - GuitarFramed
    - PianoFramed
  • Open the MusicScene scene.
  • Set the API key and Entry IDs for those same models in the Inspector.
    APIKeyandEntryId
    NEWAPIKeyandEntryID
  • 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
  • (Recommended) To move, resize or edit the assets live in your Scene view, check the boxes for “Editor Preview” and “Ignore Model Transforms”. To enable this, click Echo3D > Load Editor Holograms in your Unity toolbar.
    EditorPreviewAndIgnoreModelTransforms
    LoadHolograms

Run

Press the Play button in Unity and click on each instrument to play and stop music.

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.

Sources

Screenshots

Youtube Video of playthrough

GIF

Thumbnail