Unity-echo3D-Demo-PongGoneWrong

Save the world from the menacing robots by beating them at ping pong.

Version

Unity 2020.3.25f1

Setup

Setup

  • Clone this repo.
  • Uncheck the Security box in your console.
  • Find the 2 models of the Ping Pong Table and Ping Pong Paddle in the Unity folder under Assets/Models.
  • Add the assets to the echo3D console from the 'Models' folder.
  • Open the SampleScene scene in Unity.
  • In the Inspector, look at the 2 objects: “Ping Pong Table” and “Ping Pong Paddle”. You’ll see the echo3D SDK fields in the Inspector.
    NEWAPIKeyandEntryID
  • Set the API key and Entry IDs on the echo3D script using the Inspector for both objects. APIKeyandEntryId
  • 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. Hit Space to launch the ball and defeat the menacing robot in the game of pong.

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.

Screenshots

ezgif com-gif-maker (1)
Screenshot
Screenshot2
Screenshot3