Unity
Automatic installation¶
Unlike other Hive SDK builds, the Hive SDK Unity build supports automatic installation using the SDK Manager. The Hive SDK Manager is a Unity plugin tool that provides Unity app developers with features such as Hive SDK Unity installation, automatic updates, integrity verification, and rollback functionality. If you cannot use the Hive SDK Manager, manually install Hive SDK Unity.
Install SDK Manager¶
- Download and unzip the latest version of the Hive SDK Manager.
- Open the Unity Editor and activate the Project window. Then, drag and drop the HIVE-SDK-Manager.unitypackage file from the unzipped folder onto the Project window. Alternatively, open Assets > Import Package > Custom Package, select the HIVE-SDK-Manager.unitypackage file, and choose Import.
- When the Import Unity Package window appears, select Import to install the SDK Manager.
- If the SDK Manager is installed correctly, you will see the Hive > Hive SDK Manager menu in the Unity Editor.
Install and update Hive SDK Unity¶
Install the Hive SDK Unity using the Hive SDK Manager. If you have already installed the Hive SDK Unity, you can update it to a higher version.
- In the Unity Editor, select Hive > Hive SDK Manager > SDK Upgrade.
-
When the UpdateListView window appears, select the version of the Hive SDK you want to install or update.
-
When the upgrade completion popup appears, click OK and check the /Assets/Hive_SDK_v4 folder.
Manual installation¶
This guide explains how to manually install the Hive SDK Unity. If you have already completed the automatic installation, you can skip this step.
Install Hive SDK¶
- Download and unzip the latest version of Hive SDK Unity.
- Open the Unity Editor and activate the Project window. Then, drag and drop the HIVE_SDK.unitypackage file from the unzipped folder onto the Project window. Alternatively, open Assets > Import Package > Custom Package, select the HIVE_SDK.unitypackage file, and choose Import.
Update Hive SDK Unity¶
To manually update the Hive SDK Unity, delete the existing Hive SDK Unity and manually install the latest version.
Manage SDK Manager¶
In the Hive SDK Unity, you can update or delete the SDK Manager as needed.
Update SDK Manager¶
To update the SDK Manager to the latest version, uninstall the current SDK Manager and then install the latest version.
Uninstall SDK Manager¶
Delete all files or folders located in /Assets/HIVE.
Uninstall Hive SDK¶
To remove the Hive SDK Unity, delete the following files or folders:
- /Assets/Hive_SDK_v4
- /Assets/Hive_SDK
- /Assets/Plugins/Android/AndroidManifest.xml
- /Assets/Plugins/Android/mainTemplate.gradle
- /Assets/Plugins/Android/settingsTemplate.gradle
- /Assets/Plugins/Android/hive_config.xml
- /Assets/Plugins/iOS/hive_config.xml