Import the plugin into your Unity project

The page describes the steps to import the HMS Unity Plugin for quick start in your Unity project.

To import the plugin:

  1. Download the .unitypackage

  2. Open your game in Unity

  3. Choose Assets> Import Package> Custom Package

4. In the file, explorer selects the downloaded HMS Unity plugin. The Import Unity Package dialog box will appear, with all the items in the package pre-checked and ready to install.

5. Select Import and Unity will deploy the Unity plugin into your Assets Folder.

Obtaining the agconnect-services.json File

In order for the plugin to work, some kits are in need of agconnect-json file. Please download your latest config file from AGC and import it into the Assets/StreamingAssets folder.

Last updated