Demo project
Please find demo project for Mobile (Andoid, iOS) and WebGL platforms below. It's possible to use Avaturn for Windows / Mac Standalone apps as well, please reach out to us. You can use Avaturn in your Unity project for free.
LINKS
Getting started
- Make sure you have
git
installed on your system. On Windows you can download it here. - Create a new 3D (URP) project.
- Import Avaturn Webview SDK from SDK repository. Go to
Edit -> Package Manager
, clickAdd new package
, enterhttps://github.com/avaturn/avaturn-unity-webview-sdk.git
. - When package is loaded, click "Import" in "Samples" category. The sample will be added to the project structure.
Tested with Unity 2021.3+ .
Project overview
There are 2 example scenes, each for WebGL
and Mobile (iOS, Android)
builds (make sure you build scenes in correct environments). Unity Editor does not have web view support so it's not possible to test Avaturn web view in the editor, you need to build the project. Nevertheless avatars can be loaded in the editor using GLB urls, see the video below.
See the video for an overview of the structure of the demo project and integration tips.