Starter project to build Android apps using Flutter & Unity with echo3D.
Make sure you have an echo3D API key. If you don't have one yet, register for FREE at echo3D.
- Create a new flutter app or clone this repo.
- Add a 3D model to the echo3D console.
- In your flutter project folder, create a new Unity project or clone our Unity-ARFoundation-echo3D-example and jump to step 6.
- Install the echo3D Unity SDK.
- Open the sample scence under
echo3D/Examples/sample.unity
. - Set the API key in the Inspector of the echo3D game object.
- Import the project dependecies by running
flutter pub get
from your terminal
- Follow the instructions for the flutter_unity plugin
- Open your
main.dart
file - Find and replace the value
<YOUR-PROJECT-KEY>
with your API key and uncomment the code line - Find and replace the value
<YOUR-ENTRY-ID>
with your model's entry ID and uncomment the code line - Save the file and run the project on an andorid phone
Refer to our documentation to learn more about how to use Unity and echo3D.
This project uses a third part library.
Feel free to reach out at support@echo3D.co or join our support channel on Slack.