Quick start

Load your custom avatar in Unity in less than 10 minutes.

Pre requisite

  • Sign in to Fish Hub (Developer Dashboard) and copy your subdomain. This will allow you to create and load an avatar in your domain at a later step.

  • For this to work, you need to have Git installed on your machine, which can be downloaded from here. After installation, you will also need to restart Unity.

  • Open your Unity Project

If you have an earlier version of the SDK installed, please follow the Unity SDK 2.0 Migration Guide.

1. Import the Enoch Unity SDK

Import the package via Window -> Package Manager -> + icon -> Add Package from git URL. Paste this git URL into the input field: https://github.com/enoch-social-content/unity-sdk-core.git#v1.0.0. When you import the package for the first time, you will be asked to allow analytics. By doing so, you can help us improve the Unity SDK.

2. Import the Sample scene

With the Package Manager window open, select Enoch Avatar Loader -> Samples -> Quick Start.

3. Open the runtime example scene

Go to Assets -> Samples-> Enoch Avatar Loader-> 1.0.0-> QuickStart -> QuickStart and double-click to open the scene.

4. Load your avatar

Next, you need an avatar URL. If you don't have one, you can create one in your own subdomain. You can get your subdomain from Fish Hub.​ Return to the Quick Start Scene. In the hierarchy, select the Enoch Player game object and open the Third Person Loader Component.Paste the Avatar URL into the Avatar Url Property.​​

5. Run your project

Click Play and wait a moment for your avatar to load and animate with a basic third-person controller setup.​ The third-person controller is currently designed to work with a keyboard and mouse using the old Unity Input system.

Next steps

Next, you will learn in more detail how to:

Last updated